Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW - Solved

Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW - Solved

Postby driessen » Tue Aug 30, 2016 1: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?
Last edited by driessen on Tue Aug 30, 2016 3:56 pm, edited 1 time in total.
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: 1417
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW

Postby karinha » Tue Aug 30, 2016 1: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
User avatar
karinha
 
Posts: 7613
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW

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

Re: Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW - Solved

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

Re: Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW - Solved

Postby Antonio Linares » Wed Aug 31, 2016 8:56 am

very good
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41858
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

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