This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.5] question about python/ctypes/dlopen


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]