Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM performance
Message
 
To
21/09/1999 18:26:11
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00267364
Message ID:
00269058
Views:
22
VFP only supports late binding (CREATEOBJECT()) while VB supports early binding (New) or which can be a lot faster.

+++ Rick ---

>I have a COM object that have a method
>
>next( [in, out] long* val, [in,out] BSTR* str )
>next do this
> *val++
> and assign some value to str.
>
>This object is implemented in a ATL DLL
>
>
>i executed this code in vfp
>
>obj = createobject("sample.sample.1")
>val = 0
>str = ""
>ahora = datetime()
>do while (val < 1000000)
> obj.next(@val,@str)
>enddo
>messagebox(ahora - datetime())
>
>The message is 79, the equivalent code in VB say 5.
>
>are there some problem in COM comunication with VFP ?
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform