ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ctypes-users
ctypes-users
Re: [ctypes-users] ctypes 0.9.9.3 released
by Thomas Heller other posts by this author
Feb 17 2006 9:49AM messages near this date
Re: [ctypes-users] Re: LoadLibrary | RE: [ctypes-users] ctypes 0.9.9.3 released
Michele Petrazzo wrote:
>  Thomas Heller wrote:
> > ctypes 0.9.9.3 released - Feb 15, 2006 
> > ======================================
> >
>  
>  Hello Thomas,
>  I see that into the new version, you have brake the compatibility with
>  the LoadLibrary for windll and cdll. Why don't make a simple internal
>  and transparent link through LoadLibrary and find methods?
>  I have to change all my softwares! :(

Yes, sorry for that.  It is entirely my fault, because it's also mentioned
in the tutorial.  But, I wanted to clean up the library loading code, and
ctypes is still not a the 1.0 version number.

However, if you do not want to change all your software *now*, you can either
add it back yourself by patching ctypes, or you implement a small ctypes_compat
module that does it when imported.

Another way which should also continue to work is to instantiate instances of CDLL
or WinDLL with the library name as argument.  This has the advantage that it
works in all versions.

Hope you understand,

Thomas



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
ctypes-users mailing list
ctypes-users@[...].net
https://lists.sourceforge.net/lists/listinfo/ctypes-users
Thread:
Thomas Heller
Mike C. Fletcher
Thomas Heller
Michele Petrazzo
Thomas Heller
Thomas Heller
Andre Burgaud
Michele Petrazzo
Shane Holloway
Thomas Heller
Mark McMahon
Thomas Heller

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved