COM doesn't allow you to pass a parameter to the Init.
>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?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer