Difference between CreateObject() and CreateOleObject()

Difference between CreateObject() and CreateOleObject()

Postby driessen » Wed Nov 28, 2007 12:34 pm

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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Difference between CreateObject() and CreateOleObject()

Postby Enrico Maria Giordano » Wed Nov 28, 2007 3:49 pm

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
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby driessen » Wed Nov 28, 2007 7:06 pm

Enrico,

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

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 88 guests