On Wed, Jan 21, 2009 at 1:24 PM, Przemyslaw Czerpak <dru...@acn.waw.pl> wrote:
> This error is reported when application is not linked with > WinMain() startup point and it does not depend or xhgtk or > MT mode at all. If you are using MinGW then use -mwindows > liner switch and do not link with hbmainstd library. Sorry probably I was not clear enough. I use only hb* scripts so -mwindows is added automatically. If under msys I build using: hbmk -mt mttest10 it works as expected ( I've defined THREAD_GT as "WVT" ) instead if I use: hbmk -mt -xhgtk mttest10 I get: ------------------------------------------------------------------------ Application Internal Error - c:\dvl\src\mytests\mt\mttest10.exe Terminated at: 2009.01.21 15:29:48 Unrecoverable error 10001: It's not a GUI program ------------------------------------------------------------------------ In my test app the gtk startup works as expected I get the error when I start the "child" thread at "hb_gtReload( "WVT" ) ------------------------------------------------------------------------ Application Internal Error - C:\dvl\src\ws\tas\out\tas.exe Terminated at: 2009.01.21 15:09:28 Unrecoverable error 10001: It's not a GUI program Called from HB_GTRELOAD(0) ... ------------------------------------------------------------------------ best regards, Lorenzo _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour