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:
00932343
Vues:
13
Thanks George and Terry,

George, that solved an immediate problem about why I couldn't create the dll immediately.

Terry,

Let me make sure I understand.
>pre>COMs cannot push messageboxes or data back to the client (the client can ask and receive, but COM cannot give!)
Shouldn't obj.CursorFill() be sufficient for the client to ask and receive? Is there something else I need to add.
Sincerely,
Michael

>>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.
Send me an email when the shouting stops
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform