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

C / C++ / MFC

 
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 
GeneralRe: Failed to Create Empty Document Pin
Iain Clarke, Warrior Programmer9-Mar-04 4:46
Iain Clarke, Warrior Programmer9-Mar-04 4:46 
The OLE control is obviously failing on creation, leading to your other errors. If it works with another
program on the same machine, then you are missing something specific. It may be that the other piece of
software is using a similar ocx, or even an older version.

Are you running AfxOleInit in your CMyApp::InitInstance member function?
Have you looked to see what 0x80040154 means?

Another trick is to use regmon from www.sysinternals.com to see where CoCreateInstance is failing.
You may have a different version (and therefore different GUID) of the ole control on your machines.

etc.

Happy hunting,

Iain.

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 
GeneralDebug System Wide Hooks Pin
bilal789-Mar-04 1:53
bilal789-Mar-04 1:53 

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.