On Wed, 25 Mar 2009, Mindaugas Kavaliauskas wrote: Hi,
> one of missing features is parameters passed by reference. Iterators is not > implemented also, but I do not know if it is implemented in current win_ole > code. Current code is very short and simple. At least I understand it so far ;-) Thank you very much. I just look at it and here are points I noticed: 1. Empty date in hbwin TOLEAUTO is send as VT_NULL. Should we replicate it? 2. HB_IT_POINTER support. Should we add it? 3. Array support. Should we add it? 4. OLECREATEOBJECT() and OLEGETACTIVEOBJECT() return simple pointer item. Maybe we should change it to GC pointer item. In such case we can eliminate destructor from HB_OLEAUTO class. OLERELEASE() will also not be longer necessary though we can leave it to force releasing OLE objects even if some other references still exists. 5. The hbwin TOLEAUTO class supports iteration by FOR EACH loop. Should we add it too? 6. Should we add passing parameters by reference? 7. The exit code should be fixed to avoid problems executing destructors after hb_ole_exit(). 8. s_lOleError should be thread local to make it MT safe. Please remember that I do not know OLE and I cannot say if we can safely add some functionality or not. But I can implement few points from above list or at least help in their implementation. best regards, Przemek _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
