[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

hkimball

1/7/2008 2:52:00 PM

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