Hello All,
I'm writing a server and I do not seem to be able to pass parameters to my OLEPUBLIC class(s) INIT event.
The INIT event fires when the object is created but the parameters are ignored.
FOR EXAMPLE
cPath = "C:\temp\test\"
oTest = CREATEOBJECT('servertool.autoseq',cPath)
DEFINE CLASS AutoSeq AS CUSTOM OLEPUBLIC
...
PROCEDURE INIT
LPARAMETERS cPath
MESSAGEBOX(TYPE('cPath'),"test parameters"
...
ENDEFINE
The messagebox displays the parameter cPath as type Logical. Why?
-Pete
I'm writing a server and I do not seem to be able to pass parameters to my OLEPUBLIC class(s) INIT event.
The INIT event fires when the object is created but the parameters are ignored.
FOR EXAMPLE
cPath = "C:\temp\test\"
oTest = CREATEOBJECT('servertool.autoseq',cPath)
DEFINE CLASS AutoSeq AS CUSTOM OLEPUBLIC
...
PROCEDURE INIT
LPARAMETERS cPath
MESSAGEBOX(TYPE('cPath'),"test parameters"
...
ENDEFINE
The messagebox displays the parameter cPath as type Logical. Why?
-Pete