Hi
Przemyslaw Czerpak-2 wrote:
>
> C code using ax controls has to be updated to use hb_oleParam() instead of
> hb_parptr(). That's all if reference counters were updated correctly.
> If not then the code has to be cleaned.
>
I submit that current ( before your "this" changes ) never releases the
ole object neither with Mindaugas code nor with GTWVG, and I was
desperately looking for this fix. Today I will make experiments and will let
you know the results.
> .prg interface is unchanged here. The example I sent to Alex is
> original functionality implemented by Mindaugas.
> The new extension is support for parameters passed by references
> (if you change some variables in your handler and they were passed
> by reference then you will update caller variables too).
> I also added support for using hash array with event handlers indexed
> by event numbers so instead of using single function pointer or
> codeblock you can use:
> { nEvent1 => @myEventOneHandler(), ;
> nEvent2 => {|...| myEventTwoHandler( obj, ... ) } }
> as 2-nd __AXREGISTERHANDLER() parameter but it's optional extension.
>
Oh, Ok. I wll look what can be eliminated in GTWVG.
Regards
Pritpal Bedi
--
View this message in context:
http://www.nabble.com/Possible-OleAuto-bug-tp25044738p25082940.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour