Click here to Skip to main content
15,881,828 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: the function CWnd::CreateControl succeeds, but m_hWnd is NULL Pin
Richard MacCutchan25-Oct-12 22:20
mveRichard MacCutchan25-Oct-12 22:20 
GeneralRe: the function CWnd::CreateControl succeeds, but m_hWnd is NULL Pin
Falconapollo25-Oct-12 22:51
Falconapollo25-Oct-12 22:51 
GeneralRe: the function CWnd::CreateControl succeeds, but m_hWnd is NULL Pin
Richard MacCutchan25-Oct-12 23:11
mveRichard MacCutchan25-Oct-12 23:11 
GeneralRe: the function CWnd::CreateControl succeeds, but m_hWnd is NULL Pin
Falconapollo25-Oct-12 23:12
Falconapollo25-Oct-12 23:12 
GeneralRe: the function CWnd::CreateControl succeeds, but m_hWnd is NULL Pin
Richard MacCutchan25-Oct-12 23:33
mveRichard MacCutchan25-Oct-12 23:33 
AnswerRe: the function CWnd::CreateControl succeeds, but m_hWnd is NULL Pin
Sivaraman Dhamodharan25-Oct-12 22:49
Sivaraman Dhamodharan25-Oct-12 22:49 
GeneralRe: the function CWnd::CreateControl succeeds, but m_hWnd is NULL Pin
Falconapollo25-Oct-12 22:52
Falconapollo25-Oct-12 22:52 
GeneralRe: the function CWnd::CreateControl succeeds, but m_hWnd is NULL Pin
Sivaraman Dhamodharan25-Oct-12 23:05
Sivaraman Dhamodharan25-Oct-12 23:05 
Delete(Take a backup if you want) the .tli and .tlh from the debug folder and rebuild the project. Make sure the delete files are created again.

Then check the CreateControl function. Use the GetLastError() to examine what went wrong.

GeneralRe: the function CWnd::CreateControl succeeds, but m_hWnd is NULL Pin
Falconapollo25-Oct-12 23:07
Falconapollo25-Oct-12 23:07 
AnswerRe: the function CWnd::CreateControl succeeds, but m_hWnd is NULL Pin
David Crow26-Oct-12 4:58
David Crow26-Oct-12 4:58 
QuestionAssigning Pointer To Object (Both of Same Class) Pin
AmbiguousName24-Oct-12 21:41
AmbiguousName24-Oct-12 21:41 
AnswerRe: Assigning Pointer To Object (Both of Same Class) Pin
Richard MacCutchan24-Oct-12 22:01
mveRichard MacCutchan24-Oct-12 22:01 
AnswerRe: Assigning Pointer To Object (Both of Same Class) Pin
AmbiguousName24-Oct-12 22:21
AmbiguousName24-Oct-12 22:21 
GeneralRe: Assigning Pointer To Object (Both of Same Class) Pin
Richard MacCutchan24-Oct-12 23:09
mveRichard MacCutchan24-Oct-12 23:09 
GeneralRe: Assigning Pointer To Object (Both of Same Class) Pin
Stefan_Lang25-Oct-12 0:33
Stefan_Lang25-Oct-12 0:33 
GeneralRe: Assigning Pointer To Object (Both of Same Class) Pin
Richard MacCutchan25-Oct-12 1:19
mveRichard MacCutchan25-Oct-12 1:19 
GeneralRe: Assigning Pointer To Object (Both of Same Class) Pin
Santhosh G_25-Oct-12 1:24
Santhosh G_25-Oct-12 1:24 
GeneralRe: Assigning Pointer To Object (Both of Same Class) Pin
Stefan_Lang25-Oct-12 1:33
Stefan_Lang25-Oct-12 1:33 
GeneralRe: Assigning Pointer To Object (Both of Same Class) Pin
Richard MacCutchan25-Oct-12 1:38
mveRichard MacCutchan25-Oct-12 1:38 
GeneralRe: Assigning Pointer To Object (Both of Same Class) Pin
Stefan_Lang25-Oct-12 1:52
Stefan_Lang25-Oct-12 1:52 
GeneralRe: Assigning Pointer To Object (Both of Same Class) Pin
Richard MacCutchan25-Oct-12 2:52
mveRichard MacCutchan25-Oct-12 2:52 
GeneralRe: Assigning Pointer To Object (Both of Same Class) Pin
Orjan Westin25-Oct-12 3:06
professionalOrjan Westin25-Oct-12 3:06 
GeneralRe: Assigning Pointer To Object (Both of Same Class) Pin
Stefan_Lang25-Oct-12 3:30
Stefan_Lang25-Oct-12 3:30 
AnswerRe: Assigning Pointer To Object (Both of Same Class) Pin
Chris Meech25-Oct-12 2:14
Chris Meech25-Oct-12 2:14 
QuestionRe: Assigning Pointer To Object (Both of Same Class) Pin
David Crow25-Oct-12 2:40
David Crow25-Oct-12 2:40 

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.