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

C / C++ / MFC

 
GeneralRe: Problem in SetWallpaper Pin
aks.8-Oct-07 22:47
aks.8-Oct-07 22:47 
GeneralRe: Problem in SetWallpaper Pin
GauranG Shah8-Oct-07 22:53
GauranG Shah8-Oct-07 22:53 
GeneralRe: Problem in SetWallpaper Pin
aks.8-Oct-07 23:05
aks.8-Oct-07 23:05 
GeneralRe: Problem in SetWallpaper Pin
GauranG Shah8-Oct-07 23:12
GauranG Shah8-Oct-07 23:12 
QuestionRe: Problem in SetWallpaper Pin
David Crow9-Oct-07 3:08
David Crow9-Oct-07 3:08 
Questionhow to change the color of header of list control Pin
rajneshmalik8-Oct-07 18:55
rajneshmalik8-Oct-07 18:55 
AnswerRe: how to change the color of header of list control Pin
hiajay8-Oct-07 19:49
hiajay8-Oct-07 19:49 
QuestionAccess violation in Comctl32.dll Pin
Marimuthu.r8-Oct-07 18:53
Marimuthu.r8-Oct-07 18:53 
Hi,
I have an dialog based application developed on VS 2005 on XP machine.
The main dialogs has a TreeCtrl, buttons etc.
When I exit my application, I get a crash which is inconsistant.
These are the contents of my call stack.

comctl32.dll!5d0a93d0()     <br />
[Frames below may be incorrect and/or missing, no symbols loaded for comctl32.dll]  <br />
comctl32.dll!5d0a8461()     <br />
comctl32.dll!5d0b98ff()     <br />
user32.dll!7e41b96b()   <br />
comctl32.dll!5d0e9964()     <br />
user32.dll!7e4185a4()   <br />
user32.dll!7e4188d1()   <br />
user32.dll!7e4188da()   <br />
comctl32.dll!5d0a9bc6()     <br />
mfc80ud.dll!AfxWndProcBase(HWND__ * hWnd=0x001115b6, unsigned int nMsg=515, unsigned int wParam=1, long lParam=5242970)  Line 411 + 0x27 bytes  C++<br />
user32.dll!7e418734()   <br />
user32.dll!7e418816()   <br />
user32.dll!7e41c63f()   <br />
user32.dll!7e41c665()   <br />
mfc80ud.dll!CWnd::DefWindowProcW(unsigned int nMsg=515, unsigned int wParam=1, long lParam=5242970)  Line 1029 + 0x20 bytes C++<br />
mfc80ud.dll!CWnd::Default()  Line 274   C++<br />
mfc80ud.dll!CWnd::OnLButtonDblClk(unsigned int __formal=1, unsigned int __formal=1)  Line 486 + 0xf bytes   C++<br />
MYUIuD.dll!1005da21()   <br />
MYUIuD.dll!10045542()   <br />
mfc80ud.dll!CWnd::OnWndMsg(unsigned int message=515, unsigned int wParam=1, long lParam=5242970, long * pResult=0x0012f3d0)  Line 2169  C++<br />
mfc80ud.dll!CWnd::WindowProc(unsigned int message=515, unsigned int wParam=1, long lParam=5242970)  Line 1741 + 0x20 bytes  C++<br />
MYUIuDuD.dll!1005cc57()     <br />
mfc80ud.dll!AfxCallWndProc(CWnd * pWnd=0x013e094c, HWND__ * hWnd=0x001115b6, unsigned int nMsg=515, unsigned int wParam=1, long lParam=5242970)  Line 240 + 0x1c bytes  C++<br />
mfc80ud.dll!AfxWndProc(HWND__ * hWnd=0x001115b6, unsigned int nMsg=515, unsigned int wParam=1, long lParam=5242970)  Line 389   C++<br />
mfc80ud.dll!AfxWndProcBase(HWND__ * hWnd=0x001115b6, unsigned int nMsg=515, unsigned int wParam=1, long lParam=5242970)  Line 411 + 0x15 bytes  C++<br />
user32.dll!7e418734()   <br />
user32.dll!7e418816()   <br />
user32.dll!7e41f805()   <br />
user32.dll!7e4189cd()   <br />
user32.dll!7e431b3c()   <br />
user32.dll!7e418a10()   <br />
user32.dll!7e42d99d()   <br />
mfc80ud.dll!CWnd::IsDialogMessageW(tagMSG * lpMsg=0x001744e8)  Line 198 C++<br />
mfc80ud.dll!CWnd::PreTranslateInput(tagMSG * lpMsg=0x001744e8)  Line 4268   C++<br />
mfc80ud.dll!CDialog::PreTranslateMessage(tagMSG * pMsg=0x001744e8)  Line 80 C++<br />
mfc80ud.dll!CWnd::WalkPreTranslateTree(HWND__ * hWndStop=0x000a169c, tagMSG * pMsg=0x001744e8)  Line 2882 + 0x14 bytes  C++<br />
mfc80ud.dll!AfxInternalPreTranslateMessage(tagMSG * pMsg=0x001744e8)  Line 233 + 0x12 bytes C++<br />
mfc80ud.dll!CWinThread::PreTranslateMessage(tagMSG * pMsg=0x001744e8)  Line 773 + 0x9 bytes C++<br />
Sample.exe!CMyApplicationApp::PreTranslateMessage(tagMSG * pMsg=0x001744e8)  Line 2052  C++<br />
mfc80ud.dll!AfxPreTranslateMessage(tagMSG * pMsg=0x001744e8)  Line 252 + 0x11 bytes C++<br />
mfc80ud.dll!AfxInternalPumpMessage()  Line 178 + 0x18 bytes C++<br />
mfc80ud.dll!CWinThread::PumpMessage()  Line 896 C++<br />
mfc80ud.dll!AfxPumpMessage()  Line 190 + 0xd bytes  C++<br />
mfc80ud.dll!CWnd::RunModalLoop(unsigned long dwFlags=4)  Line 4322 + 0x5 bytes  C++<br />
mfc80ud.dll!CDialog::DoModal()  Line 587 + 0xc bytes    C++<br />
Sample.exe!CMyApplicationApp::InitInstance()  Line 565 + 0x8 bytes  C++<br />
mfc80ud.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x00020a00, int nCmdShow=1)  Line 37 + 0xd bytes C++<br />
    Sample.exe!wWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x00020a00, int nCmdShow=1)  Line 33    C++<br />
Sample.exe!__tmainCRTStartup()  Line 589 + 0x35 bytes   C<br />
Sample.exe!wWinMainCRTStartup()  Line 414   C<br />
kernel32.dll!7c816fd7()


What is causing the crash/access violation.
Could any body guide me in figuring out as to what may be causing the crash??
That would be of great help.
AnswerRe: Access violation in Comctl32.dll Pin
Marimuthu.r9-Oct-07 5:35
Marimuthu.r9-Oct-07 5:35 
Questionpointer and array Pin
KASR18-Oct-07 18:26
KASR18-Oct-07 18:26 
AnswerRe: pointer and array Pin
Naveen8-Oct-07 20:16
Naveen8-Oct-07 20:16 
GeneralRe: pointer and array Pin
KASR18-Oct-07 20:28
KASR18-Oct-07 20:28 
GeneralRe: pointer and array Pin
Naveen8-Oct-07 20:33
Naveen8-Oct-07 20:33 
GeneralRe: pointer and array Pin
KASR18-Oct-07 20:35
KASR18-Oct-07 20:35 
QuestionA problem about scrolling Edit controls in a dialogue Pin
today422008-Oct-07 16:14
today422008-Oct-07 16:14 
QuestionIntegration of my unit testing tool with Visual Studio 2005 IDE Pin
Kamyar Souri8-Oct-07 16:08
Kamyar Souri8-Oct-07 16:08 
Questionstl bind2nd question Pin
User 5838528-Oct-07 14:30
User 5838528-Oct-07 14:30 
Answerboost Pin
User 5838528-Oct-07 19:54
User 5838528-Oct-07 19:54 
Questionc++ file mergesort Pin
lockheart878-Oct-07 13:45
lockheart878-Oct-07 13:45 
QuestionRe: c++ file mergesort Pin
David Crow9-Oct-07 3:27
David Crow9-Oct-07 3:27 
AnswerRe: c++ file mergesort Pin
jhwurmbach9-Oct-07 3:35
jhwurmbach9-Oct-07 3:35 
Questionsetting text on dialog from a subclass Pin
locoone8-Oct-07 13:04
locoone8-Oct-07 13:04 
AnswerRe: setting text on dialog from a subclass Pin
Mark Salsbery8-Oct-07 13:39
Mark Salsbery8-Oct-07 13:39 
GeneralRe: setting text on dialog from a subclass Pin
locoone8-Oct-07 14:03
locoone8-Oct-07 14:03 
GeneralRe: setting text on dialog from a subclass Pin
Mark Salsbery8-Oct-07 14:35
Mark Salsbery8-Oct-07 14:35 

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.