On Sat, Apr 10, 2010 at 8:56 AM, Wander Lairson <wander.lair...@gmail.com> wrote:
>> Indeed this is a problem. >> http://old.nabble.com/Calling-convention-of-the-libusb-1.0-Windows-snapshots-td28179386.html >> >> In my opinion, both should match and it seems to me using >> stdcall is the way to go. >> >> Wander: what is your opinion as the pyusb developer? > > As a library developer, I understand that calling convention is part > of the API interface, and it should be explicit in the header file. If > we are speaking on Windows, and we want to support as much clients as > possible, we should we __stdcall. Some environments just cannot handle > __cdecl (coff coff VB6). > Thanks. That seems to be the consensus now even though Pete has some reservations. -- Xiaofan http://mcuee.blogspot.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users