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:49:55
 
 
To
25/04/2008 13:33:40
Mike Sue-Ping
Cambridge, Ontario, Canada
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:
01313176
Views:
15
>>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!).
>>

>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?

Depends how large and interconnected your app is. Having inheritance chains across multiple app's takes a bit of thought or you run the danger of having duplicate code in the apps. Having vcx's in the exe is no problem, but factoring out "middle parts of inheritance" needs those apps to be already opened for troublefree work. Did that a few years ago on a large app, cutting down double- and triple linked code (on the order of 12 MB) and had to implement a scheme to open app's via small utitity functions for certain modules. Depends much on your code <g>.

regards

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform