Click here to Skip to main content
15,914,071 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: scroll bar for a group-box control. Pin
Rajesh R Subramanian24-Oct-08 1:50
professionalRajesh R Subramanian24-Oct-08 1:50 
AnswerRe: scroll bar for a group-box control. Pin
MANISH RASTOGI24-Oct-08 0:56
MANISH RASTOGI24-Oct-08 0:56 
QuestionDialogBox Positioning problem Pin
Dhiraj kumar Saini23-Oct-08 21:38
Dhiraj kumar Saini23-Oct-08 21:38 
AnswerRe: DialogBox Positioning problem Pin
CPallini23-Oct-08 22:10
mveCPallini23-Oct-08 22:10 
GeneralRe: DialogBox Positioning problem Pin
Dhiraj kumar Saini23-Oct-08 22:52
Dhiraj kumar Saini23-Oct-08 22:52 
GeneralRe: DialogBox Positioning problem Pin
Rajesh R Subramanian23-Oct-08 23:13
professionalRajesh R Subramanian23-Oct-08 23:13 
GeneralRe: DialogBox Positioning problem Pin
CPallini23-Oct-08 23:30
mveCPallini23-Oct-08 23:30 
Questionplease help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
kaviniswell23-Oct-08 21:28
kaviniswell23-Oct-08 21:28 
Cry | :(( when debug my program, an error happens: Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation.
the stack information showed as follows:

USER32! 77d3e176()
USER32! 77d2927b()
USER32! 77d3a193()
USER32! 77d2c89a()
USER32! 77d306ec()
USER32! 77d18709()
USER32! 77d187eb()
USER32! 77d1c00e()
USER32! 77d1e366()
CWnd::DefWindowProcA(unsigned int 332, unsigned int 0, long 458752) line 1000 + 32 bytes
CWnd::WindowProc(unsigned int 332, unsigned int 0, long 458752) line 1586 + 26 bytes
AfxCallWndProc(CWnd * 0x0013b0a4 {CSkinComboBox hWnd=???}, HWND__ * 0x0016048e, unsigned int 332, unsigned int 0, long 458752) line 215 + 26 bytes
AfxWndProc(HWND__ * 0x0016048e, unsigned int 332, unsigned int 0, long 458752) line 368
AfxWndProcDllStatic(HWND__ * 0x0016048e, unsigned int 332, unsigned int 0, long 458752) line 57 + 21 bytes
USER32! 77d18709()
USER32! 77d187eb()
USER32! 77d1b743()
USER32! 77d1e2f7()
CComboBox::FindString(int 0, const char * 0x00070000) line 746 + 26 bytes
CDlg::Fun1() line 599 + 20 bytes
CDlg::Fun2() line 408
_AfxDispatchCmdMsg(CCmdTarget * 0x0013a4a0 {CDlg}, unsigned int 1116, int 1, void (void)* 0x00ac1541


but my codes is:

if (dwOldItemData != 0)
{
//error place, but not every time. and comboSource is a CSkinComboBox object
int nNewSel = m_comboSource.FindString(0, (LPCTSTR)dwOldItemData);
if (nNewSel != LB_ERR)
{
m_comboSource.SetCurSel(nNewSel);
return;
}
}

so, what's the problem? thk u!!!
AnswerRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
Cedric Moonen23-Oct-08 21:34
Cedric Moonen23-Oct-08 21:34 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
kaviniswell23-Oct-08 21:42
kaviniswell23-Oct-08 21:42 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
Cedric Moonen23-Oct-08 21:48
Cedric Moonen23-Oct-08 21:48 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
kaviniswell23-Oct-08 21:57
kaviniswell23-Oct-08 21:57 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
Cedric Moonen23-Oct-08 22:05
Cedric Moonen23-Oct-08 22:05 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
kaviniswell23-Oct-08 22:24
kaviniswell23-Oct-08 22:24 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
Cedric Moonen23-Oct-08 22:36
Cedric Moonen23-Oct-08 22:36 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
kaviniswell23-Oct-08 22:53
kaviniswell23-Oct-08 22:53 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
Cedric Moonen23-Oct-08 23:05
Cedric Moonen23-Oct-08 23:05 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
SandipG 23-Oct-08 23:19
SandipG 23-Oct-08 23:19 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
CPallini23-Oct-08 22:13
mveCPallini23-Oct-08 22:13 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
kaviniswell23-Oct-08 22:26
kaviniswell23-Oct-08 22:26 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
CPallini23-Oct-08 22:40
mveCPallini23-Oct-08 22:40 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
kaviniswell23-Oct-08 22:56
kaviniswell23-Oct-08 22:56 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
kaviniswell23-Oct-08 23:30
kaviniswell23-Oct-08 23:30 
GeneralRe: please help me! "Unhandled exception in **.exe (user32.dll) : 0xC0000005: Access Violation." Pin
kaviniswell23-Oct-08 23:42
kaviniswell23-Oct-08 23:42 
Questionwhy I can't declaring a CArray object in a separate header file [modified] Pin
Electronic7523-Oct-08 21:06
Electronic7523-Oct-08 21:06 

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.