471,330 Members | 1,173 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

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.d ll")
cdecl._GE_Connect
<_FuncPtr object at 0x00B7E378>
>>cdecl._GE_Connect()
0
>>cdecl._GE_IsConnected()
0
Jan 8 '08 #1
0 826

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Somesh Bartakkay | last post: by
1 post views Thread by Thomas Heller | last post: by
19 posts views Thread by Thomas Heller | last post: by
6 posts views Thread by wccppp | last post: by
1 post views Thread by sjdevnull | last post: by
4 posts views Thread by digitnctu | last post: by
reply views Thread by hkimball | last post: by
6 posts views Thread by Jack | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.