Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need advice on using a VFP DLL
Message
From
25/04/2008 13:33:40
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
25/04/2008 13:22:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01313145
Message ID:
01313169
Views:
15
>>Has anyone created and used a VFP DLL in a VFP application?
>>
>>I'm considering doing this in order to reduce the VFP exe size. I figure that the stuff in the DLL will be code that has been around for years and does not change. I'm hoping that the VFP exe can call the functions in the DLL.
>>
>>Will this work or am I dreaming?
>>Does the DLL need registering?
>
>As the others replied it will work. But if you ONLY want to call it from vfp and not from other COM-aware programs I'd recommend splitting up your exe into app's - same modularity, higher speed (becaus no marshalling is needed) esp. if you call a method "from the other side" very often or with many parameters, less deployment issues (no registration!).
>
>my 0.02 EUR

Thanks for the heads up Thomas. This sounds like the way for me to go. Are there any other issues that you are aware of that I should consider with this approach?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform