Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Coding, syntax & commands
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only