General information
Category:
COM/DCOM and OLE Automation
Title:
Class Session OlePublic
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only