> pObj = ( QPointer< QPageSetupDialog > * ) > memset( hb_gcAllocate( sizeof( QPointer< QPageSetupDialog > ), > &s_gcQPageSetupDialog ), > 0, sizeof( QPointer< QPageSetupDialog > ) );
It is already "included".... it is visually different as we use object and not *object and we gcAllocate QGC_OBJECT and not directly the object... but the result is the same (should be :-) ) What really surprised me is the not getting a GPF when ( p) ->funz() and p is NULL..... I will resume the work later this evening... I miss one point: hbqt_garbage include extern ... ( void *, iParam) I already changed void * to the correct class but then I should include all the headers... I'm in a hurry I will explain better later.. Bye _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour