有个程序使用VC6 写的,用VS2008打开后将其转化为VC9,在Debug时没有任何编译错误,但会弹出
"failed to create empty document"的错误窗口,在Output 中看到如下错误:
First-chance exception at 0x75779617 in MonitorSys.exe: Microsoft C++ exception: COleDispatchException at memory location 0x0012edf0..
Warning: Uncaught exception in WindowProc (returning -1).
Warning: Window creation failed: GetLastError returns 0x00000000
Warning: failed to create CFrameWnd.Warning: CDocTemplate couldn't create a frame.
没搞过VC不知道是什么问题?