Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create DLL from Prg file
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00932218
Message ID:
00932245
Views:
12
>Good Evening,
>
>I have a program that works very well as a prg file or as an exe, but I need to make it into a dll to instantiate through a ColdFusion web page as a com object.
>
>Any suggestions would be greatly appreciated.

Download #9840 has a VFP DLL (com) PRG you can look at. In addition to George's advice (re:OLEPUBLIC), you should also be aware that COMs cannot push messageboxes or data back to the client (the client can ask and receive, but COM cannot give!), and that COM has to communicate errors back to the client typically implemented with COMRETURNERROR. No timers inside COM. You had a lot of [cool] code - you may want to break it down (as a start point) into smaller sets for DLL - (maybe) one DLL = one DEFINE CLASS.
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform