Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Session OlePublic
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Class Session OlePublic
Miscellaneous
Thread ID:
00899482
Message ID:
00899482
Views:
35
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
Next
Reply
Map
View

Click here to load this message in the networking platform