Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Session OlePublic
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Class Session OlePublic
Divers
Thread ID:
00899482
Message ID:
00899482
Vues:
34
Can you use a PROCEDURE from the INIT of a CLASS? IE:

DEFINE CLASS test AS SESSION OLEPUBLIC

cTempDir

PROCEDURE INIT
cTempDir = GETTempDir()
ENDPROC

HIDDEN PROCEDURE GetTempDir
RETURN "C:\Temp"
ENDPROC

ENDDEFINE

I am gettting a OLE error code 0x80004005: Unspicified error.
If I remove the line I do not get the error

Rex A. Walters
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform