On Wed, 21 Jan 2009, Rodrigo Miguel wrote:

Hi Rodrigo,

> sorry for the dummy question, how about change the main to WinMain in
> the code below when running on windows?

It will be necessary to replicate all Harbour operations coded in
source/vm/mainwin.c and include/hbwmain.c.
I'd rather suggest to make it less intrusive which will not force
updating XHGTK code when sth will be changed in core [x]Harbour
initialization code and use startup initialization to register
hb_vmAtInit()/hb_vmAtExit() functions.
I've just committed such modification to XHGTK SVN repository.
   2009-01-22 04:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
Please make tests on different platforms.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to