|
-
April 9th, 1999, 08:29 PM
#2
Re: Automation Problem...
Did you find an answer to this yet? My problem is not quite the same, but
might be related. 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. For your problem, you
may want to check the:
if (cmdInfo.m_bRunEmbedded || cmdInfo.m_bRunAutomated)
line in InitInstance(). This returns right away if running automation and
will not let the app initialize the frame window.
-- Rolando
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|