March 20th, 2000, 09:54 PM
Hi,
I am trying to figure out to manage several instances of a VB exe. What I'm trying to do is run several copies of a worker app and have one other app manage load to each of them. Can I use OLE/COM to do this. I tried several times, and was very unhappy with the results.
I created a COM EXE server in VB and then instantiated it with calls to CreateObject. It would appear to run "copies" (it definately was creating threads) of the executable, but the performance was awful. I'm almost positive I was running into that "apartment" threading crap and locking issues. What I really want is to run separate standard exes and pass some simple messages around! How about DDE???
Thanks for any input
Sam
I am trying to figure out to manage several instances of a VB exe. What I'm trying to do is run several copies of a worker app and have one other app manage load to each of them. Can I use OLE/COM to do this. I tried several times, and was very unhappy with the results.
I created a COM EXE server in VB and then instantiated it with calls to CreateObject. It would appear to run "copies" (it definately was creating threads) of the executable, but the performance was awful. I'm almost positive I was running into that "apartment" threading crap and locking issues. What I really want is to run separate standard exes and pass some simple messages around! How about DDE???
Thanks for any input
Sam