Re: GtkSourceView build for Windows?




----- Original Message ----- From: "Tor Lillqvist" <tml iki fi>
To: "Miroslav Rajcic" <rajcic sokrates hr>
Cc: <gtk-app-devel-list gnome org>
Sent: Friday, September 12, 2008 11:55 PM
Subject: Re: GtkSourceView build for Windows?


I should mention what happened when I tried that: The program linked
without problems, and the .exe ended up importing from the DLL, but
the import list from that DLL was empty!.. The program of course
crashed as soon as it called a function from the DLL as the import
stub jumped into thin air. This is something to look out for.
(Although I don't know how widespread the belief that one can simply
copy a libfoo.dll.a to foo.lib is?)


I myself did not rename the import library from .a to .lib, but added it into the list of libraries to be linked to. Link passed OK, but the .exe crashed on the startup.

I'll try to use your pexports tip, thanks.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]