How it will be "freed" will solve later.
but is necessary to control their destruction as in all classes.
I think in the use of collectible pointer to *new* pointers dynamically 
allocated, in order to automatic call the destructor of
class for *delete*

Xavi

Pritpal Bedi escribió:
Thanks Xavi


Xavi-13 wrote:
This return a QPoint class in stack, you need return a new QPoint Class .-

hb_retptr( ( QPoint* ) new QPoint( hbqt_par_QWidget( 1 )->mapTo(
hbqt_par_QWidget( 2 ),  *hbqt_par_QPoint( 3 ) ) ) );
        
but is necessary to control their destruction as in all classes.
Well, when you are finished start the corrections.


This resolves the problem, thanks.

How it will be "freed" will solve later.

Regards
Pritpal Bedi



_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to