Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL - wich is best pratice ?
Message
De
22/04/2004 14:10:15
 
 
À
22/04/2004 10:37:59
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00897216
Message ID:
00897313
Vues:
13
Hi Claudio,
>I am planning to move my business rule from VCX file (today it is external of my app.) to DLL..

I'ld redesign your plan perhaps.
Calling a COM Dll incurs a much greater overhead
than calling objects directly / from an app.

If there is any chance that quite a few calls need to be made
at one singular time, I'ld opt for calling the business rule objects
directly if I work on a desktop app. Even in web-centered solutions
I'ld keep all code in one COM object if possible -
even in-process DLL's are noticeably slower.

With a little bit more work you can get the same functionality
in COM and normal VFP compiled from the same business sources -
for COM you wrap the objects.

my 0.02 EUR

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform