>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( ... )

Thanks for answer Przemek.

I tried but seems that new ole have missing features, for example:

old winole have support for numeric handle send as parameter to
new(hobj), and are translated to:

---cut---
METHOD New( uObj, cClass, cLicense ) CLASS TOleAuto
...
   ELSEIF ISNUMBER( uObj )
      OleAddRef( uObj )
      ::hObj := uObj
---cut---

but to add this feature we need support HB_IT_ARRAY in
hb_oleItemToVariant().

Am I right ?

Thanks and best regards,

Toninho.

__________________________________________________
Faça ligações para outros computadores com o novo Yahoo! Messenger
http://br.beta.messenger.yahoo.com/
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to