Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ole exception error when I try to set value
Message
De
18/07/2008 09:09:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Ole exception error when I try to set value
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01332225
Message ID:
01332225
Vues:
80
HI all

I try tu use a com made with C
If I browse the com with the object Browser i can see that the com contain 7 Classes .
I try to use one on this classe like this

oDocS= nEWoBJECT('SoftInfoDocService.DocService')

In the command window the intellisense show me this


oDocs.SetRooT(aRoot as String)

So i try this

oDocs.SetRoot('C:\')

and i get this message Ole execption error: Exception code c0000005. OLE object may be corrupt.

I have check with another person who uses it with Delphi an it working fine.

Do I need to set somting else

TIA

Benoit
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform