Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding parameters to a vfp dll
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00671700
Message ID:
00671708
Views:
20
>When creating a dll I added a parameter on the init to set a property. Then when when doing o=createobject('Order.Order',lcParm) the property is set to the parameter. In testing in VFP it works fine, but testing as a dll it doesn't. So my questions are:
>Does VFP allow parameters to be passed into the dll?
>If so, is there a trick?

You cannot pass parameter to COM object when it's created. IT's COM limitation not VFP. You can create method Myinit and call it after object is created.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform