FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW - Solved
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW - Solved
Posted: Tue Aug 30, 2016 01:23 PM

Hello,

I know there was a topic about this problem in the past, but unfortunately it is in Spanish which I don't understand at all.

I connect my application to Outlook through OLE.
In my application I make an e-mail which I transfer to Outlook.

I haven't changed a single character for months, but suddenly I got this error.

I use the latest version of FWH, Harbour and I connect to Outlook 2010.
If I use the latest xHarbour Builder, I don't get this error but the e-mail is not send either.

Anyone any idea?

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW
Posted: Tue Aug 30, 2016 01:35 PM

How are you doing? Like this?

CreateObject( "..." )

or

Win_CreateObject( "..." )

Instead of: TOLEAuto():New( "..." )

show example, please.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW
Posted: Tue Aug 30, 2016 02:56 PM

Win_Createobject() returns an unresolved external while building my application.

But whether I use Createobject() or ToleAuto:New() returns the same error.

Thanks.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW - Solved
Posted: Tue Aug 30, 2016 03:57 PM

I'm sorry but my problem seems to be solved.

Obviously it was an Office problem. I ran a repair of my Office and everything is running like it has to.

Thanks.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW - Solved
Posted: Wed Aug 31, 2016 08:56 AM

very good

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion