Hi Pritpal, Just reviewed the demoqt. Could you please commit a version with the following modification:
1. hb_toOutDebug() conditioned by __debug__ or switch to: #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 mentioned by Viktor. 2. The sequence: CASE cType == "WebPage" oDlg := QWebView():new() oUrl := QUrl():new() oUrl:setUrl( "http://www.harbour.vouch.info" ) QT_QWebView_SetUrl( QT_PTROF( oDlg ), QT_PTROF( oUrl ) ) oDlg:setWindowTitle( "Harbour-QT Web Page Navigator" ) oDlg:exec() should be replaced with a "not implemented!" message until fixing this issue. These two things will make it, hopefully, error free on different platforms. Thank you and best regards, István -----Original Message----- From: harbour-boun...@harbour-project.org [mailto:harbour-boun...@harbour-project.org] On Behalf Of Bisz István Sent: 2009. november 14. 9:56 To: 'Harbour Project Main Developer List.' Subject: RE: [Harbour] SF.net SVN: harbour-project:[12868] trunk/harbour Hi Pritpal, Thank you for the new QPointer handling integration, now we can handle the QObjects deleted by Qt in his parent-child mechanism. There is a necessity to continue with the HB-Qt interface analysis, concentrating on the: void * hbqt_gcpointer( int iParam ) { QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( gcFuncs(), iParam ); if( p && p->ph ) { return p->ph; } else { return hb_parptr( iParam ); } } function enhancements, to signal at harbour level the already deleted Qt objects access tentative. Now the repository is dead, due to the CP modifications, I will continue with the tests later. Best regards, István (my first name) -----Original Message----- From: harbour-boun...@harbour-project.org [mailto:harbour-boun...@harbour-project.org] On Behalf Of Pritpal Bedi Sent: 2009. november 14. 5:57 To: harbour@harbour-project.org Subject: Re: [Harbour] SF.net SVN: harbour-project:[12868] trunk/harbour Hi Viktor Szakáts wrote: > > Now I'm getting crash on exit using MinGW + Win7. > demoxbp.exe ? And crash at what point? On exit ? If yes, then it is possibly that HbDbfModel::~HbDbfModel( void ) { hb_itemRelease( block ); destroy(); } needs some overhaul. What I think is that - hb_itemRelease( block ); - has to be guarded in someway, but what, I am unable to figure out. Przemek can shed light on this aspect. NOTE: Bisz István had disabled it to avoid crashes, but I enabled it because, otherwise, hb_out.log was containing a long list of unfreed memory blocks. Regards Pritpal Bedi -- View this message in context: http://old.nabble.com/SF.net-SVN%3A-harbour-project%3A-12868--trunk-harbour-tp26346347p26347229.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 _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour