Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to set background color of menu and submenu in vc++ Pin
Game-point22-Sep-09 2:00
Game-point22-Sep-09 2:00 
Questiondisplaying of context menu in richedittextbox control in vc++,mfc Pin
prerananit22-Sep-09 1:42
prerananit22-Sep-09 1:42 
AnswerRe: displaying of context menu in richedittextbox control in vc++,mfc Pin
Richard MacCutchan22-Sep-09 2:20
mveRichard MacCutchan22-Sep-09 2:20 
QuestionHow to call a method from soap base .net web service? Pin
bankey101022-Sep-09 1:23
bankey101022-Sep-09 1:23 
QuestionProblem with get/set method [modified] Pin
Sivyo22-Sep-09 0:16
Sivyo22-Sep-09 0:16 
AnswerRe: Problem with get/set method Pin
Nuri Ismail22-Sep-09 0:41
Nuri Ismail22-Sep-09 0:41 
GeneralRe: Problem with get/set method Pin
Sivyo22-Sep-09 1:33
Sivyo22-Sep-09 1:33 
GeneralRe: Problem with get/set method Pin
Nuri Ismail22-Sep-09 2:05
Nuri Ismail22-Sep-09 2:05 
Sivyo wrote:
Unhandled exception at 0x1026edac (msvcr90d.dll) in Zoo.exe: 0xC0000005: Access violation writing location 0xcdcdcdcd


Most likely, you are either accessing a memory location that is not been allocated or has been freed already.

I've tried the code from your modified post and it works fine.
Maybe you should go step by step through your main method and track your heap objects.

You should also use the call stack window in order to see the exact position of the crash in your code.


Nuri Ismail

GeneralRe: Problem with get/set method Pin
Sivyo22-Sep-09 2:17
Sivyo22-Sep-09 2:17 
GeneralRe: Problem with get/set method Pin
David Crow22-Sep-09 2:53
David Crow22-Sep-09 2:53 
GeneralRe: Problem with get/set method Pin
Sivyo22-Sep-09 9:45
Sivyo22-Sep-09 9:45 
AnswerRe: Problem with get/set method Pin
CPallini22-Sep-09 0:59
mveCPallini22-Sep-09 0:59 
GeneralRe: Problem with get/set method Pin
Sivyo22-Sep-09 1:39
Sivyo22-Sep-09 1:39 
QuestionRe: Problem with get/set method Pin
CPallini22-Sep-09 1:59
mveCPallini22-Sep-09 1:59 
AnswerRe: Problem with get/set method Pin
Sivyo22-Sep-09 2:05
Sivyo22-Sep-09 2:05 
GeneralRe: Problem with get/set method Pin
CPallini22-Sep-09 2:28
mveCPallini22-Sep-09 2:28 
GeneralRe: Problem with get/set method Pin
Sivyo22-Sep-09 3:18
Sivyo22-Sep-09 3:18 
AnswerRe: Problem with get/set method Pin
Richard MacCutchan22-Sep-09 2:32
mveRichard MacCutchan22-Sep-09 2:32 
QuestionRe: Problem with get/set method Pin
CPallini22-Sep-09 2:35
mveCPallini22-Sep-09 2:35 
AnswerRe: Problem with get/set method Pin
Richard MacCutchan22-Sep-09 6:07
mveRichard MacCutchan22-Sep-09 6:07 
AnswerRe: Problem with get/set method Pin
Sivyo22-Sep-09 3:21
Sivyo22-Sep-09 3:21 
GeneralRe: Problem with get/set method Pin
Richard MacCutchan22-Sep-09 6:05
mveRichard MacCutchan22-Sep-09 6:05 
Questionhow to lock edit box at runtime Pin
jadhavjitendrar21-Sep-09 23:40
jadhavjitendrar21-Sep-09 23:40 
AnswerRe: how to lock edit box at runtime Pin
Code-o-mat21-Sep-09 23:53
Code-o-mat21-Sep-09 23:53 
AnswerRe: how to lock edit box at runtime Pin
CPallini21-Sep-09 23:57
mveCPallini21-Sep-09 23:57 

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.