[liblouis-liblouisxml] Re: Interfacing with Windows Applications

  • From: James Teh <jamie@xxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Sat, 07 Feb 2009 08:43:58 +1000

On 6/02/2009 10:17 PM, John J. Boyer wrote:
We will probably have to solve the problem that Yuemei found if we are
to make a GUI with most languages.
Python can load either C calling convention or stdcall dlls with no problems. Obviously, the same is probably true if coding in raw C++.

Mingw probably has provisions for
that, since it produces programs that run in a native Windows
environment.
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.

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

Other related posts: