Click to See Complete Forum and Search --> : CreateObject


Paul Hirst
March 29th, 1999, 08:47 AM
I am havine problems using the CreateObject function to allow desktop scripts to exectue commands in my MFC application, when the script is invoked my application starts and then the script just stops, does anyone have any ideas or pointers that might help me with this.


thanks

April 9th, 1999, 08:25 PM
Did you find an answer to this yet? I think I'm running into basically the
same problem. When CreateObject (or New) is applied to the MFC application
object, MFC's AfxWinMain()hangs because the message loop (pThread->Run()) never
returns control to the calling thread until the application finishes.

I don't know how to fix this so I'm asking around.

-- Rolando
rcabrera@alum.mit.edu