Difference between CreateObject() and CreateOleObject()

Post Reply
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Difference between CreateObject() and CreateOleObject()

Post by driessen »

Hello,

Can anyone tell me what the difference is between CreateObject() and CreateOleObject()

Thanks.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Difference between CreateObject() and CreateOleObject()

Post 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
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

Enrico,

Thanks a lot for your answer. Now I understand the difference.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Post Reply