What is the reason debug calls need to be re-invented every time? We have working solution in xbp.ch, and now there is _again_ a new one developed in hbqt with different function names, different enabler logic and different logging logic (which again breaks all non-Windows).
Pls change to this one in hbqt, too: --- #if defined( __HB_OUTDEBUG__ ) #if defined( __PLATFORM__WINDOWS ) .AND. defined( __HB_WINDEBUG__ ) #xtranslate HB_OUTDEBUG( [<x>] ) => wapi_OutputDebugString( <x> ) #else #xtranslate HB_OUTDEBUG( [<x>] ) => hb_TraceString( <x> ) #endif #else #xtranslate HB_OUTDEBUG( [<x>] ) => iif( .T.,, ) #endif --- Possibly also __debug__ invocation on C level should be changed to __HB_OUTDEBUG__ to have one less variation for the same thing. Brgds, Viktor On 2009 Nov 14, at 21:22, Pritpal Bedi wrote: > > Hello Istvan > > > Bisz István wrote: >> >> See my findings: to activate the tracing of the actual demoqt on >> Windows+mingw I tried to: >> >> 1. compile hbqt with: >> @set HB_USER_CFLAGS=-D__debug__ >> @set HB_USER_PRGFLAGS=-D__debug__ >> >> 2. build >> hbmk2 demoqt -lxhb -lpsapi >> >> After these steps I have got a running exe, but I can't see any traces on >> my Vista. >> Any advice is useful, thanks. >> > > You need a windows debugger for this purpose. > I use dbgview.exe which you can find on the net. Or tell me > where should I send it to you. > > BTW can you strip the messages to which you are replying? > Just keep relevant portion only into your message. Sometimes > it becomes difficult to locate the excat message of your current reply. > If you are ready with Harbour standard coding we can ask Viktor > to grant your write access on SVN. > > Regards > Pritpal Bedi > > -- > View this message in context: > http://old.nabble.com/SF.net-SVN%3A-harbour-project%3A-12868--trunk-harbour-tp26346347p26353560.html > Sent from the Harbour - Dev mailing list archive at Nabble.com. > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour