Viktor Szakáts wrote:
>
> It's also possible that simple 'free()' is called on these
> pointers causing a GPF.
>
> You can try linking in free() function override with trace
> message to see whether they are being called.
>
I tried something like this:
void free( void * ptr )
{
if( ptr )
{
HB_TRACE( HB_TR_ALWAYS, ( "< free( void * %p ) %s %i", ptr, "
0", getdelete() ) );
hb_xfree( ptr );
HB_TRACE( HB_TR_ALWAYS, ( " ( void * ) %s", "
1 >" ) );
}
}
But no call is routed to this function.
I also tried:
void operator free( void * ptr ) does not compile.
Any tips ?
-----
enjoy hbIDEing...
Pritpal Bedi
_a_student_of_software_analysis_&_design_
--
View this message in context:
http://n2.nabble.com/hbQT-c-stub-GC-Some-food-for-thoughts-tp4483724p4489739.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour