... It doesn't happen every time. It seems that it happens just after using the application few times. That is the reason I was thinking about garbage collector. Thanks, Moshe Yarden
... disculpas... no funciona: http://rapidshare.com/files/255896628/T ... a.rar.html Error This file is neither allocated to a Premium Account, or a Collector's Account, and can therefore only be downloaded 10 times. This limit is reached. To download this file, the uploader either needs to transfer ...
... garbage collection, even if there are only few memory objects to collect. If <lForce> is omitted, or set to .F. (false), the garbage collector is not invoked when there is little or no garbage to collect. Return The return value is always NIL. Description xHarbour's garbage collector ...
... would want to store the reference to the xHarbour object passed to the C function Basically you have to block the object to avoid that the garbage collector destroys it. I recommend you to review the source code of the extend system and the item api. We manage PHB_ITEMs (pointer to "items" managed ...
... this be the correct way of initializing the array after use. If the array is a LOCAL variable I think it would be better to leave tothe garbage collector the responsibility of deallocating the memory. -------------------------------------------------------------------------------- I saw your ...
Anyhow, thanks for your info. Though I guess its Harbour responsability to release all created objects from Classes, as a result of its garbage collector activity.
... If you are going to store a Harbour item into it, then you should call hb_gcGripGet( PHB_ITEM ) and hb_gcGripDrop( PHB_ITEM ) to avoid the garbage collector to destroy that item.