Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: using GDI+ in C++ windows project Pin
mpastchenko7-Sep-05 8:33
mpastchenko7-Sep-05 8:33 
GeneralRe: using GDI+ in C++ windows project Pin
mpastchenko7-Sep-05 9:10
mpastchenko7-Sep-05 9:10 
GeneralRe: using GDI+ in C++ windows project Pin
Christian Graus7-Sep-05 12:45
protectorChristian Graus7-Sep-05 12:45 
GeneralRe: using GDI+ in C++ windows project Pin
Christian Graus7-Sep-05 12:43
protectorChristian Graus7-Sep-05 12:43 
GeneralRe: using GDI+ in C++ windows project Pin
mpastchenko7-Sep-05 14:31
mpastchenko7-Sep-05 14:31 
GeneralRe: using GDI+ in C++ windows project Pin
Christian Graus7-Sep-05 14:34
protectorChristian Graus7-Sep-05 14:34 
GeneralRe: using GDI+ in C++ windows project Pin
mpastchenko7-Sep-05 15:39
mpastchenko7-Sep-05 15:39 
QuestionError in Release Build Only Pin
hamza56-Sep-05 13:48
hamza56-Sep-05 13:48 
I have been using Microsoft Visual C++ 6.0 for a MFC SDI project for some time.
Recently however, I have noticed that the Release Build of my executable gives an "Access Violation" error when the program is terminated. The Debug Build does not give any such problem.

Because I couldn't solve the problem, I loaded a backup of my project. The previously built executable ran and exited nicely, but when I recompiled the code and ran again, I recieved the same error.

The error occurs when the program is terminated (after the WM_DESTROY message is successfully processed, but before ExitInstance() or any of the Document/Frame/View objects have their destructor called.

The error is:
0xC00000005, Access Violation.

The assembly code at this point is something like
mov e-something dword ptr [eax]
or something like that (I am not at my pc now, it has no internet connection).

Note that information on the error is limited, because it only occurs in the Release Build.

If you have any idea what could be going on, or remember anywhere/anyone talking about something similar, PLS let me know.
AnswerRe: Error in Release Build Only Pin
ThatsAlok6-Sep-05 18:56
ThatsAlok6-Sep-05 18:56 
GeneralRe: Error in Release Build Only Pin
Anonymous7-Sep-05 6:57
Anonymous7-Sep-05 6:57 
AnswerRe: Error in Release Build Only Pin
Anonymous6-Sep-05 20:59
Anonymous6-Sep-05 20:59 
GeneralRe: Error in Release Build Only Pin
Anonymous7-Sep-05 6:58
Anonymous7-Sep-05 6:58 
QuestionTrouble with writing dll Pin
Christian Graus6-Sep-05 13:03
protectorChristian Graus6-Sep-05 13:03 
AnswerRe: Trouble with writing dll Pin
S Douglas6-Sep-05 23:20
professionalS Douglas6-Sep-05 23:20 
GeneralRe: Trouble with writing dll Pin
Christian Graus7-Sep-05 12:31
protectorChristian Graus7-Sep-05 12:31 
Questionto get the handle of the dialog Pin
Ann666-Sep-05 12:14
sussAnn666-Sep-05 12:14 
AnswerRe: to get the handle of the dialog Pin
Blake Miller6-Sep-05 12:23
Blake Miller6-Sep-05 12:23 
GeneralRe: to get the handle of the dialog Pin
Ann666-Sep-05 12:54
sussAnn666-Sep-05 12:54 
GeneralRe: to get the handle of the dialog Pin
Anonymous6-Sep-05 13:52
Anonymous6-Sep-05 13:52 
AnswerRe: to get the handle of the dialog Pin
S Douglas6-Sep-05 23:16
professionalS Douglas6-Sep-05 23:16 
AnswerRe: to get the handle of the dialog Pin
S Douglas7-Sep-05 0:37
professionalS Douglas7-Sep-05 0:37 
QuestionChanging text color in a record list for one item Pin
LCI6-Sep-05 11:27
LCI6-Sep-05 11:27 
Questionstatic constructors ? Pin
zildjohn016-Sep-05 10:38
zildjohn016-Sep-05 10:38 
Answer[Message Deleted] Pin
Neagoe Gabriel6-Sep-05 11:07
Neagoe Gabriel6-Sep-05 11:07 
AnswerRe: static constructors ? Pin
Anonymous6-Sep-05 11:09
Anonymous6-Sep-05 11:09 

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.