Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling VFP COM is very slow
Message
De
18/06/2011 03:04:36
 
 
À
17/06/2011 16:53:42
Hong Yew
People Quest
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01515002
Message ID:
01515049
Vues:
78
>I have tried calling VFP.COM from ASP.NET web app but find it extremely slow.
>I would really appreciate if you could share your experience in calling VFPCOM.
>
compared to vfp function/method calls a call across COM borders is more expensive.
This is more so if you are using exe/out of process COM.
But you should design your components to be "chunky, not chatty" -
resolve steps within each component and only script the results.

Rick has some measurements and hints for XCOM with vfp and dotnet
on westwind.com - and if you read his code, he writes in such a way
that he can use the slower exe way for better fault security.

HTH

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform