X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B1933F5.1000806@users.sourceforge.net> Date: Sat, 05 Dec 2009 00:08:21 +0800 From: JonY User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [1.5] question about python/ctypes/dlopen References: <4B192281 DOT 3050000 AT cryptelium DOT net> <4B192587 DOT 7070403 AT users DOT sourceforge DOT net> <4B192BD5 DOT 3020005 AT cryptelium DOT net> In-Reply-To: <4B192BD5.3020005@cryptelium.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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"); 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