Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to declare class Member with template declaration ? Pin
Antti Keskinen9-Mar-04 20:28
Antti Keskinen9-Mar-04 20:28 
GeneralRe: How to declare class Member with template declaration ? Pin
vgrigor9-Mar-04 20:47
vgrigor9-Mar-04 20:47 
GeneralRe: How to declare class Member with template declaration ? Pin
Robert A. T. Káldy9-Mar-04 23:38
Robert A. T. Káldy9-Mar-04 23:38 
GeneralRe: How to declare class Member with template declaration ? Pin
Antti Keskinen10-Mar-04 0:28
Antti Keskinen10-Mar-04 0:28 
GeneralRe: How to declare class Member with template declaration ? Pin
vgrigor9-Mar-04 20:52
vgrigor9-Mar-04 20:52 
GeneralRe: How to declare class Member with template declaration ? Pin
Michael Dunn10-Mar-04 3:56
sitebuilderMichael Dunn10-Mar-04 3:56 
GeneralRe: How to declare class Member with template declaration ? Pin
vgrigor10-Mar-04 5:34
vgrigor10-Mar-04 5:34 
GeneralFailed to Create Empty Document Pin
dotbomb9-Mar-04 4:02
dotbomb9-Mar-04 4:02 
Hello,

I have an MFC MDI application, that repeatedly displays a message box in the InitInstance() member function, specifically in the MFC calls after the following code is executed:

if (theCommands.m_nShellCommand == CCommLine::FileNew)
{
if (!ProcessShellCommand(theCommands))
return FALSE;
}

The message box says "Failed to Create Empty Document".

The application is using a .ocx control to create a spreadsheet document inside of the CMainFrame. This only happens on one computer. The same computer can run a similar app. with the same activeX control and it will not create this error. I don't understand it.

Can anyone help me?

Here is some useful output

'MVReport.exe': Loaded '\\dan\mvreport\Debug\MVReport.exe', Symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\mfc71d.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\msvcr71d.dll', Symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\SHLWAPI.DLL', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\ODBC32.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\comdlg32.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\MFC71ENU.DLL', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805\comctl32.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\odbcint.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\msctf.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\clbcatq.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\comres.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\version.dll', No symbols loaded.
CoCreateInstance of OLE control {B0475003-7740-11D1-BDC3-0020AF9F8E6E} failed.
>>> Result code: 0x80040154
>>> Is the control is properly registered?
Warning: could not create view for frame.
Failed to create client pane/view for frame.
Warning: CDocTemplate couldn't create a frame.
'MVReport.exe': Loaded 'C:\WINDOWS\system32\mslbui.dll', No symbols loaded.
'MVReport.exe': Loaded 'C:\Program Files\Logitech\MouseWare\system\LGMOUSHK.DLL', No symbols loaded.
The program '[3480] MVReport.exe: Native' has exited with code 0 (0x0).

-dotBomb
GeneralRe: Failed to Create Empty Document Pin
Iain Clarke, Warrior Programmer9-Mar-04 4:46
Iain Clarke, Warrior Programmer9-Mar-04 4:46 
GeneralRe: Failed to Create Empty Document Pin
dotbomb11-Mar-04 5:13
dotbomb11-Mar-04 5:13 
GeneralRe: Failed to Create Empty Document Pin
Iain Clarke, Warrior Programmer11-Mar-04 5:33
Iain Clarke, Warrior Programmer11-Mar-04 5:33 
QuestionHow to change font of Cdialog programmatically ? Pin
vgrigor9-Mar-04 3:46
vgrigor9-Mar-04 3:46 
AnswerRe: How to change font of Cdialog programmatically ? Pin
David Crow9-Mar-04 4:01
David Crow9-Mar-04 4:01 
GeneralRe: How to change font of Cdialog programmatically ? Pin
vgrigor9-Mar-04 4:06
vgrigor9-Mar-04 4:06 
GeneralRe: How to change font of Cdialog programmatically ? Pin
David Crow9-Mar-04 4:21
David Crow9-Mar-04 4:21 
GeneralRe: How to change font of Cdialog programmatically ? Pin
vgrigor9-Mar-04 4:29
vgrigor9-Mar-04 4:29 
GeneralRe: How to change font of Cdialog programmatically ? Pin
vgrigor9-Mar-04 5:57
vgrigor9-Mar-04 5:57 
GeneralRe: How to change font of Cdialog programmatically ? Pin
win32newb11-Mar-04 21:22
susswin32newb11-Mar-04 21:22 
GeneralRe: How to change font of Cdialog programmatically ? Pin
David Crow12-Mar-04 3:46
David Crow12-Mar-04 3:46 
GeneralRe: Failed to Create Empty Document Pin
David Crow9-Mar-04 4:03
David Crow9-Mar-04 4:03 
GeneralCreateNamedPipe Pin
hph9-Mar-04 3:32
hph9-Mar-04 3:32 
GeneralRe: CreateNamedPipe Pin
David Crow9-Mar-04 3:37
David Crow9-Mar-04 3:37 
GeneralRe: CreateNamedPipe Pin
hph9-Mar-04 3:44
hph9-Mar-04 3:44 
GeneralRe: CreateNamedPipe Pin
David Crow9-Mar-04 4:07
David Crow9-Mar-04 4:07 
GeneralRe: CreateNamedPipe Pin
hph9-Mar-04 4:24
hph9-Mar-04 4:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.