Hi Istvan, This is very easy to implement, only needs one extra 'mt=yes' line in contrib/hbqt/hbqt[s].hbc files.
However, before we do this, I'd like know if this is indeed the _real_ solution to the problem. Turning on MT mode decreases performance by ~30% (AFAIR) in mingw, so it's not a costless option. I can see some MT stuff in some hbqt files, but I can't tell for sure if MT is really needed, and I don't remember of such requirement from past discussions, and I wonder why does it seem work on other systems. (although hbide is also far from stable on my system, I had to shut it down from Task Manager, plus I also had GPFs today). I'm also not sure why MT mode should be obligatory for a GUI lib. This is a pretty important requirement to know about before deciding on using HBQT in ones app. I also can't see how GPFs can still occur by .prg level programming errors, and I'm in the dark regarding past memory leakage issues. Are they solved now? I can't understand three the HBQT_RELEASE_WITH_* methods, is this a permanent user option now? When should it be used? Or is it an experiment to check which of them works? If the latter, do we know this already? If the former, why users have to bother with such low level details? Can HBQT experts advise on any of above matters? Brgds, Viktor On 2009 Dec 6, at 19:27, Bisz István wrote: > Hi Viktor, > > Could you please force the -mt for the hbide, demoxbp and demoqt in their > hbmk2 bilds. > Until now looks that this is the magic... > > Best regards, > István > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Viktor Szakáts > Sent: 2009. december 5. 18:28 > To: Harbour Project Main Developer List. > Subject: Re: [Harbour] SF.net SVN: harbour-project:[13103] trunk/harbour > >> @cd c:\downloads\harbour\contrib\hbide >> @hbmk2 hbide.hbp >> @cd c:\downloads\harbour\contrib\hbxbp\tests >> @hbmk2 demoxbp.prg >> @cd c:\downloads\harbour\contrib\hbqt\tests >> @hbmk2 demoqt.prg > > Another suggestion: > > Use -rebuild option in above hbmk2 calls. It may happen > you get a confused state if switch back and forth between > different compiler versions and build settings, since > hbmk2 won't detect all of these. > > Brgds, > Viktor > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
