On Wed, 21 Jan 2009, Lorenzo Fiorini wrote: Hi Lorenzo,
> Unfortunately the same approach doesn't work in Win. The main xhgtk > thread works but it cannot launch gtwvt threads. It returns: > Application Internal Error - C:\dvl\src\ws\tas\out\tas.exe > Terminated at: 2009.01.21 11:48:40 > Unrecoverable error 10001: It's not a GUI program 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. BTW if you want to use xhgtk in different threads then I suggest to 1-st read GTK documentation for MT programming. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour