[Gambas-devel] Windows stuff
Brandon Bergren
bdragon at ...185...
Fri Mar 11 00:43:10 CET 2005
I managed to get a dll to provide GDI windowing in Cygwin, finally.
Apparently, the host app DOES have to use the WINDOWS subsystem.
Using argc and argv with that subsystem really sucks, though.
Micro$oft only provides a Unicode version of the routine to make an argv
from what you are provided by windows, so you basically have to write your
own command line parser.
Anyway, I'll probabaly end up writing a simple GDI canvas to dump console
output on, and maybe have a couple debugging dohickeys and stuff.
I also got a cygwin host to load a mingw dll, without any ill effects. I
don't think it's guaranteed to be stable, as there's two C runtimes going
if you do that. (cygwin1 and msvcrt)
But, it seems to work.
As GTK is a complete PITA to get running using the win32 gdk backend while
the rest of GTK is doing POSIX, that's a relief.
As a side effect, I can bluff my way through GDI now. ;)
Anyway, if everything goes well, I might be able to get the GTK component
to compile against a MINGW style GTK.
--Brandon
More information about the Devel
mailing list