Page 1 of 1
Difference between CreateObject() and CreateOleObject()
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Nov 28, 2007 12:34 pm
by driessen
Hello,
Can anyone tell me what the difference is between CreateObject() and CreateOleObject()
Thanks.
Re: Difference between CreateObject() and CreateOleObject()
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Nov 28, 2007 3:49 pm
by Enrico Maria Giordano
CreateObject() is synonymous with TOleAuto():New() (i.e. creates a [x]Harbour class) while CreateOleObject() just returns a Windows handle to an OLE object.
EMG
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Nov 28, 2007 7:06 pm
by driessen
Enrico,
Thanks a lot for your answer. Now I understand the difference.