[1.5] question about python/ctypes/dlopen

JonY jon_y@users.sourceforge.net
Fri Dec 4 16:23:00 GMT 2009


On 12/4/2009 23:33, kiorky wrote:
>
>
> JonY a écrit :
>> On 12/4/2009 22:53, kiorky wrote:
>> Hi,
>>
>> have you tried loading "cyggeos_c-1.dll" instead of the import library?
>>
> Yep, just look at the second part of the first mail
> It results in "bad address" instead of "permission denied"
>

Hi,

Sorry, I was jumping to conclusions, I'm not a python guru either. I 
tried with:

 >>> import ctypes
 >>> ctypes.CDLL("/bin/cygwin1.dll");
<CDLL '/bin/cygwin1.dll', handle 61000000 at 7ff2af4c>

It seems to work. I suggest loading other dlls for testing.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list