Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM performance
Message
De
21/09/1999 18:26:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
COM performance
Divers
Thread ID:
00267364
Message ID:
00267364
Vues:
71
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 ?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform