ctypes
I am having trouble with ctypes: i can load the third party dll, and gain access to the function but the function calls do not actually perform their intended purpose. I have tried this in both interactive mode and from a saved script. I know that is a somewhat vague description but any help would be greatly appreciated. thanks harold kimball -- http://mail.python.org/mailman/listinfo/python-list
ctypes
I am trying to call a funtinon in a third party dll that spawns another exe and I am using ctypes. Python does not complain at all but the other process does not get spawned. It appears that I am gaining access to the functions but with no results. Any ideas? Thanks in advance. >>> from ctypes import * >>> cdecl = cdll.LoadLibrary("c:\projects\python\geinterface.dll") >>> cdecl._GE_Connect <_FuncPtr object at 0x00B7E378> >>> cdecl._GE_Connect() 0 >>> cdecl._GE_IsConnected() 0 -- http://mail.python.org/mailman/listinfo/python-list
ctypes and 3rd party dll
I am trying to call a function in a third party dll that spawns anr exe and I am using ctypes. Python does not complain at all but the other process does not get spawned. It appears that I am gaining access to the functions but with no results. Any ideas? Thanks in advance. >>> from ctypes import * >>> cdecl = cdll.LoadLibrary("c:\projects\python\geinterface.dll") >>> cdecl._GE_Connect <_FuncPtr object at 0x00B7E378> >>> cdecl._GE_Connect() 0 >>> cdecl._GE_IsConnected() 0 -- http://mail.python.org/mailman/listinfo/python-list
ctypes
I am trying to call a function in a third party dll that spawns an exe and I am using ctypes. Python does not complain at all but the other process does not get spawned. It appears that I am gaining access to the functions but with no results. Any ideas? Thanks in advance. >>> from ctypes import * >>> cdecl = cdll.LoadLibrary("c:\projects\python\geinterface.dll") >>> cdecl._GE_Connect <_FuncPtr object at 0x00B7E378> >>> cdecl._GE_Connect() 0 >>> cdecl._GE_IsConnected() 0 -- http://mail.python.org/mailman/listinfo/python-list