Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM performance
Message
From
21/09/1999 18:26:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
COM performance
Miscellaneous
Thread ID:
00267364
Message ID:
00267364
Views:
70
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 ?
Next
Reply
Map
View

Click here to load this message in the networking platform