Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending parameters to a dll
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Sending parameters to a dll
Divers
Thread ID:
00830944
Message ID:
00830944
Vues:
52
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform