dll strangeness
- Posted by ChrisB (moderator) Aug 10, 2010
- 1427 views
Why would this
include dll.e include machine.e include misc.e include get.e integer cxi_dll, cxi_load cxi_dll = open_dll("cximage.dll") printf(1, "%d\n", {cxi_dll}) -- produces large number if working, or 0 if not cxi_load = define_c_func(cxi_dll,"CXI_LoadImage",{C_POINTER,C_INT,C_INT,C_INT},C_POINTER) printf(1, "%d\n", {cxi_load}) -- produces 17 if working, -1 if not wait_key()
work on one machine, but not another. Sergio is having problems cximage to work (he's using winxp sp3, eu3.11, and will test with eu4 later), I've tried it on a few different win xp (sp2, sp3) machines, and its worked every time.
The dll is installed in the working directory, and it makes no difference if installed here, or in windows\system32.
Are there any other tests that could be tried?
Chris