General information
Category:
COM/DCOM and OLE Automation
Title:
Sending parameters to a dll
We are trying to send parameters to a dll written in VFP,
i.e. odata=createobject("classlib.classname","param1","param2")
in the class definition there is an init function with the relevant parameters:
function init (lcDataPath as string,lcactivitydbf as string) as void
.
.
.
Endfunc
When registering the class as a dll (olepublic) and declaring it the object never reaches the init function, and of course never reads the parameters.
When running the class directly through VFP, of course it receives the parameters and works properly.
So - what am I missing?
Any help would be appreciated.
TIA,
Eylon
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