Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
State of the COM
Message
 
To
25/07/2001 09:47:30
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00534671
Message ID:
00535558
Views:
14
>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform