Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
State of the COM
Message
 
À
25/07/2001 09:47:30
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00534671
Message ID:
00535558
Vues:
13
>If I understand you correctly this will not work if my COM object was written in VFP:
>
>FOR i = 1 to 3
>  oCOM1 = createobject('MyCom.COMClass')
>  oCOM1.RunTask('A')
>  oCOM2 = createobject('MyCom.COMClass')
>  oCOM2.RunTask('B')
>  oCOM3 = createobject('MyCom.COMClass')
>  oCOM3.RunTask('C')
>NEXT
>*-- the following lines work!
>oXLS1 = createobject('Excel.Application')
>oXLS2 = createobject('Excel.Application')
>
No... these will run one after another. This wouldn't work in C++ either unless you create new threads for each of the operation.

>I've read it last night and I find it very helpful. Makes me wonder why you hadn't had this as one of your sessions at the Orlando DevCon as it is a very good topic. I wouldn't have missed it.

It's not something that would cover a whole session... <s>
+++ 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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform