On 6/02/2009 10:17 PM, John J. Boyer wrote:
Python can load either C calling convention or stdcall dlls with no problems. Obviously, the same is probably true if coding in raw C++.We will probably have to solve the problem that Yuemei found if we are to make a GUI with most languages.
I've investigated this briefly. It seems that it does, although the output may be slightly different. I *think* you need to decorate functions with __stdcall or some such.Mingw probably has provisions for that, since it produces programs that run in a native Windows environment.
Yuemei, did you have to modify the source for liblouis at all to get it to build using stdcall? I was under the impression that you had to decorate functions or declare this somehow.
-- James Teh Email/MSN Messenger/Jabber: jamie@xxxxxxxxxxx Web site: http://www.jantrid.net/ For a description of the software and to download it go to http://www.jjb-software.com