Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need advice on using a VFP DLL
Message
De
25/04/2008 13:33:40
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
25/04/2008 13:22:26
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01313145
Message ID:
01313169
Vues:
16
>>Has anyone created and used a VFP DLL in a VFP application?
>>
>>I'm considering doing this in order to reduce the VFP exe size. I figure that the stuff in the DLL will be code that has been around for years and does not change. I'm hoping that the VFP exe can call the functions in the DLL.
>>
>>Will this work or am I dreaming?
>>Does the DLL need registering?
>
>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!).
>
>my 0.02 EUR

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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform