Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > ctypes and cygwin

Reply
Thread Tools

ctypes and cygwin

 
 
wander.lairson
Guest
Posts: n/a
 
      01-11-2011
Hello,

I was trying to use the libusb 1.0 with cygwin environments and
noticed that this library uses stdcall calling convention, but ctypes
does not have WinDLL object for cygwin. As far as I know, libusb
builds with stdcall calling convention on cygwin by default. My
question is if ctypes should have WinDLL in cygwin or cygwin, as a
kind of emulation of Unix, considers everything to be cdecl and libusb
guys should change their default build behavior in cygwin.

Not sure if this is the right place to ask this question, but if
ctypes guy(s) took out WinDLL from cygwin, I believe he (they) had a
good reason to do so...

--
Best Regards,
Wander Lairson Costa
LCoN - Laboratório de Computação Natural - Natural Computing Laboratory
(http://www.mackenzie.com.br/lcon.html)
Programa de Pós-Graduação em Engenharia Elétrica (PPGEE)
Faculdade de Computação e Informática (FCI)
Universidade Presbiteriana Mackenzie - SP - Brazil
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ctypes / cygwin / django+geos kiorky Python 0 12-10-2009 03:37 PM
ctypes / cygwin / django+geos kiorky Python 0 12-10-2009 03:25 PM
WindowsXP/ CTypes - How to convert ctypes array to a string? dudeja.rajat@gmail.com Python 0 08-19-2008 10:20 AM
RE: [ctypes-users] [Ann] ctypes 0.9.0 released Henk Punt Python 0 07-23-2004 10:34 PM
confirm unsubscribe from cygwin@cygwin.com cygwin-help@cygwin.com Python 0 09-04-2003 06:34 PM



Advertisments