Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is ADO faster than VFP 6
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00934351
Message ID:
00934613
Views:
28
>Hi Houston,
>You were so right, but I still get 12 seconds for Visual C++ and 8.472 seconds for VFP.
>
>Do you have any thoughts on this?

I would determine 3 times in your VC++ code:

1. how long does HRESULT hr = spCON->Open ( "", "", "", -1 ) take.
2. how long does creating the RecordSet take, and
3. how long does the Update take.

Those default arguments for spCON->Open may have performance implications. And also, I do not see where you are closing your connection, some work may still be buffered and closing the connection should be done before you determine the elapsed time.
censored.
Previous
Reply
Map
View

Click here to load this message in the networking platform