Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Can a COM Object Create Another COM Object?

$
0
0
Can a COM Object Create Another COM Object?
FoxPro Programming
Can a COM Object Create Another COM Object?
03/01/2012
02:13:30 PM
3G10UGVMF Show this entire thread in new window
Gratar Image based on email address
From:
To:
All 
Attachments:
None
Hi

I created a COM exe that creates other worker COM objects that are also COM exes. Everything works fine if I create Manager Object using CreateObject("myManager") but if I created the manager as CreateObject("myManager.mymanager") then VFP locks up because Createobject never returns. If I comment out the creation of the worker objects in the manager object then either method works.

So I am wondering can a COM object create other COM objects. I was going to create a manager COM object that would create several work COM (exe) objects with the idea the Manager COM object would be used by some other software to run FoxPro jobs.

Thanks,
Simon



Viewing all articles
Browse latest Browse all 10393

Trending Articles