Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling VFP COM is very slow
Message
From
18/06/2011 03:04:36
 
 
To
17/06/2011 16:53:42
Hong Yew
People Quest
Malaysia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01515002
Message ID:
01515049
Views:
77
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform