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

C / C++ / MFC

 
GeneralRe: Question about writing to hardrive Pin
godspeed12316-May-07 19:37
godspeed12316-May-07 19:37 
QuestionAssistance with 0xC0000005: Access Violation Pin
Reagan Conservative4-May-07 6:46
Reagan Conservative4-May-07 6:46 
AnswerRe: Assistance with 0xC0000005: Access Violation Pin
prasad_som4-May-07 7:22
prasad_som4-May-07 7:22 
GeneralRe: Assistance with 0xC0000005: Access Violation Pin
Reagan Conservative4-May-07 8:07
Reagan Conservative4-May-07 8:07 
GeneralRe: Assistance with 0xC0000005: Access Violation Pin
David Crow4-May-07 8:34
David Crow4-May-07 8:34 
GeneralRe: Assistance with 0xC0000005: Access Violation Pin
Reagan Conservative4-May-07 8:43
Reagan Conservative4-May-07 8:43 
GeneralRe: Assistance with 0xC0000005: Access Violation Pin
krmed5-May-07 4:05
krmed5-May-07 4:05 
AnswerRe: Assistance with 0xC0000005: Access Violation Pin
Hans Dietrich5-May-07 1:28
mentorHans Dietrich5-May-07 1:28 
jparken wrote:
Is there a tutorial that could help?


When you're dealing with code that you're not familiar with, usually the fastest way to track down this type of problem is to run the app under the VS debugger, and then look at the stack to see how it got there. The code that you posted is somewhere within the MFC libraries. So what you need to do is to find out how you got there.

The good news is that dialog-based apps are the simplest kind of MFC app. Do you see the dialog at all before the ASSERT error? If not, then there is a good chance that the dialog template in the RC file is incorrect or missing; or the IDD resource id in resource.h doesn't match what's in the RC file, or in the dialog's .h header file. Just make sure everything matches up - for dialog apps, it's pretty straightforward, and will fix this kind of problem 90% of the time.

After making any changes, be sure to recompile everything, to make sure it's all in sync.

Best wishes,
Hans
QuestionProblem initiating DDE with new Process after WaitForInputIdle Pin
schnuffel174-May-07 5:31
schnuffel174-May-07 5:31 
QuestionUAC Elevation on Vista Pin
Steve Thresher4-May-07 4:41
Steve Thresher4-May-07 4:41 
AnswerRe: UAC Elevation on Vista Pin
Hans Dietrich5-May-07 1:34
mentorHans Dietrich5-May-07 1:34 
QuestionNeed to draw something on CListCtrl - how to do it ? Pin
Yanshof4-May-07 4:36
Yanshof4-May-07 4:36 
QuestionRe: Need to draw something on CListCtrl - how to do it ? Pin
Maximilien4-May-07 4:59
Maximilien4-May-07 4:59 
AnswerRe: Need to draw something on CListCtrl - how to do it ? Pin
Yanshof4-May-07 5:10
Yanshof4-May-07 5:10 
AnswerRe: Need to draw something on CListCtrl - how to do it ? Pin
Michael Dunn4-May-07 6:27
sitebuilderMichael Dunn4-May-07 6:27 
GeneralRe: Need to draw something on CListCtrl - how to do it ? Pin
Yanshof4-May-07 6:41
Yanshof4-May-07 6:41 
AnswerSomeone please can help me with this one ... ? Pin
Yanshof4-May-07 23:37
Yanshof4-May-07 23:37 
QuestionHow to add Event sink messages to a view? Pin
Arris744-May-07 3:37
Arris744-May-07 3:37 
QuestionFIFO, C programming Pin
C_Zealot4-May-07 3:33
C_Zealot4-May-07 3:33 
QuestionRe: FIFO, C programming Pin
David Crow4-May-07 3:54
David Crow4-May-07 3:54 
AnswerRe: FIFO, C programming Pin
Mark Salsbery4-May-07 5:40
Mark Salsbery4-May-07 5:40 
AnswerRe: FIFO, C programming Pin
toxcct4-May-07 9:45
toxcct4-May-07 9:45 
JokeRe: FIFO, C programming Pin
Moak4-May-07 10:41
Moak4-May-07 10:41 
GeneralRe: FIFO, C programming Pin
toxcct4-May-07 10:47
toxcct4-May-07 10:47 
GeneralRe: FIFO, C programming Pin
Mark Salsbery4-May-07 10:58
Mark Salsbery4-May-07 10:58 

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.