On Sat, 28 Mar 2009, toni...@fwi wrote: Hi,
> >Il 26/03/2009 21.11, Przemyslaw Czerpak ha scritto: > >> 5. The hbwin TOLEAUTO class supports iteration by FOR EACH loop. > >Could you add FOR EACH and TIMESTAMP support ? > >I've code like attached that doesn't work with new ole version. > FWH TActiveX stop workin in this version of OLE. TActiveX FWH class > works in this way: > ---cut--- > ::hActiveX = CreateActiveX( ::cProgId, ::nStyle, ::nLeft, ::nTop, ::nWidth, > ::nHeight, ::hWnd, 0 ) > ::hObj = AtlAxGetDisp( ::hActiveX ) > ::oOle = ToleAuto():New( ::hObj ) > ---cut--- > Any hint please ? It still uses old code. TOLEAUTO() does not exists in new code so if you were able to link above peace of code then for sure it was using old implementation. If you want you can try to create wrapper functions from old to new class: function TOleAuto( ... ) return hb_OleAuto( ... ) best regards, Przemek _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
