I have developed an application on Windows 95 (MFC 4.0).
Now I started my program on Win 3.11, but I get the
errormessage 'failed to create empty document'.
I get the message after the ProcessShellCommand(cmdInfo) call in initInstance().
I have found that I get the message because the CFrameWnd::OnCreate(lpCreateStruct) function returns the value -1.
But I don't know why.