Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAccess Violation Error Pin
nripun18-Oct-05 3:50
nripun18-Oct-05 3:50 
AnswerRe: Access Violation Error Pin
David Crow18-Oct-05 3:57
David Crow18-Oct-05 3:57 
GeneralRe: Access Violation Error Pin
Chris Losinger18-Oct-05 4:03
professionalChris Losinger18-Oct-05 4:03 
GeneralRe: Access Violation Error Pin
David Crow18-Oct-05 4:43
David Crow18-Oct-05 4:43 
GeneralRe: Access Violation Error Pin
Chris Losinger18-Oct-05 4:50
professionalChris Losinger18-Oct-05 4:50 
GeneralRe: Access Violation Error Pin
nripun18-Oct-05 5:21
nripun18-Oct-05 5:21 
GeneralRe: Access Violation Error Pin
Rage18-Oct-05 5:43
professionalRage18-Oct-05 5:43 
GeneralRe: Access Violation Error Pin
nripun19-Oct-05 0:45
nripun19-Oct-05 0:45 
Sorry guys, My Mistake.Big Grin | :-D

Before the line ,
pListBox = (CListBox*) this->GetDlgItem(IDC_LISTBOX1);
there was a sprintf() function which was not successfulD'Oh! | :doh: .
I corrected the sprintf() and now the code works fine. The mistake in the sprintf() caused the hWnd=???

Thank you all..


GeneralRe: Access Violation Error Pin
Rage18-Oct-05 5:47
professionalRage18-Oct-05 5:47 
QuestionRe: Access Violation Error Pin
David Crow18-Oct-05 5:50
David Crow18-Oct-05 5:50 
Questiontime help pleas Pin
Gapilazo18-Oct-05 3:18
Gapilazo18-Oct-05 3:18 
AnswerRe: time help pleas Pin
Calc2018-Oct-05 3:44
Calc2018-Oct-05 3:44 
AnswerRe: time help pleas Pin
vikas amin18-Oct-05 3:45
vikas amin18-Oct-05 3:45 
QuestionRe: time help pleas Pin
David Crow18-Oct-05 3:50
David Crow18-Oct-05 3:50 
QuestionCString memory leak Pin
mails_aphale18-Oct-05 2:50
mails_aphale18-Oct-05 2:50 
AnswerRe: CString memory leak Pin
prasad_som18-Oct-05 3:02
prasad_som18-Oct-05 3:02 
GeneralRe: CString memory leak Pin
mails_aphale18-Oct-05 3:48
mails_aphale18-Oct-05 3:48 
AnswerRe: CString memory leak Pin
vikas amin18-Oct-05 3:51
vikas amin18-Oct-05 3:51 
GeneralRe: CString memory leak Pin
mails_aphale18-Oct-05 18:52
mails_aphale18-Oct-05 18:52 
QuestionRe: CString memory leak Pin
David Crow18-Oct-05 3:52
David Crow18-Oct-05 3:52 
AnswerRe: CString memory leak Pin
Rage18-Oct-05 5:35
professionalRage18-Oct-05 5:35 
GeneralRe: CString memory leak Pin
David Crow18-Oct-05 5:54
David Crow18-Oct-05 5:54 
AnswerRe: CString memory leak Pin
mails_aphale18-Oct-05 18:51
mails_aphale18-Oct-05 18:51 
GeneralRe: CString memory leak Pin
David Crow19-Oct-05 2:43
David Crow19-Oct-05 2:43 
Questiontaskbar title for MFC application Pin
Mircea Grelus18-Oct-05 2:49
Mircea Grelus18-Oct-05 2:49 

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.