Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create DLL from Prg file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00932218
Message ID:
00932245
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform