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

C / C++ / MFC

 
QuestionRe: how to remove the extra border of a button after enabling xp visual style Pin
goldenrose919-Mar-11 8:02
goldenrose919-Mar-11 8:02 
QuestionAccess violation reading location 0x00378004. Pin
so0_lanhlung218-Mar-11 17:06
so0_lanhlung218-Mar-11 17:06 
QuestionRe: Access violation reading location 0x00378004. Pin
CPallini18-Mar-11 23:37
mveCPallini18-Mar-11 23:37 
AnswerRe: Access violation reading location 0x00378004. Pin
so0_lanhlung219-Mar-11 3:31
so0_lanhlung219-Mar-11 3:31 
QuestionRe: Access violation reading location 0x00378004. Pin
Code-o-mat18-Mar-11 23:59
Code-o-mat18-Mar-11 23:59 
AnswerRe: Access violation reading location 0x00378004. Pin
so0_lanhlung219-Mar-11 3:23
so0_lanhlung219-Mar-11 3:23 
GeneralRe: Access violation reading location 0x00378004. Pin
Richard MacCutchan19-Mar-11 3:59
mveRichard MacCutchan19-Mar-11 3:59 
GeneralRe: Access violation reading location 0x00378004. Pin
Code-o-mat19-Mar-11 4:01
Code-o-mat19-Mar-11 4:01 
From http://en.wikipedia.org/wiki/Hexspeak[^]:
# 0xBAADF00D ("bad food") is used by Microsoft's LocalAlloc(LMEM_FIXED) to indicate uninitialised allocated heap memory when the debug heap is used. [3[^]]
My guess would be that something goes wrong during memory allocation. Maybe you are trying to allocate too much (continous) memory. Check out Listing Used Files[^] here on CodeProject, it seems to be doing something similar than you are, there seems to be a way to query how much memory you need so you don't need to keep increasing the buffer with realloc until it is big enough. Can't say anything better at this point, am not much familiar with sysinternals.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> //TODO: Implement signature here<

GeneralRe: Access violation reading location 0x00378004. Pin
so0_lanhlung219-Mar-11 6:22
so0_lanhlung219-Mar-11 6:22 
QuestionRe: Access violation reading location 0x00378004. Pin
CPallini19-Mar-11 4:41
mveCPallini19-Mar-11 4:41 
QuestionMy computer is possessed Pin
Kaaib18-Mar-11 11:30
Kaaib18-Mar-11 11:30 
AnswerRe: My computer is possessed Pin
వేంకటనారాయణ(venkatmakam)18-Mar-11 20:24
వేంకటనారాయణ(venkatmakam)18-Mar-11 20:24 
GeneralRe: My computer is possessed Pin
Kaaib18-Mar-11 21:47
Kaaib18-Mar-11 21:47 
GeneralRe: My computer is possessed Pin
Richard MacCutchan18-Mar-11 23:45
mveRichard MacCutchan18-Mar-11 23:45 
GeneralRe: My computer is possessed Pin
Code-o-mat19-Mar-11 0:06
Code-o-mat19-Mar-11 0:06 
QuestionWhat is corect way to send an CString through ::PostMessage(...) ? Pin
_Flaviu18-Mar-11 0:09
_Flaviu18-Mar-11 0:09 
AnswerRe: What is corect way to send an CString through ::PostMessage(...) ? Pin
CPallini18-Mar-11 1:23
mveCPallini18-Mar-11 1:23 
GeneralRe: What is corect way to send an CString through ::PostMessage(...) ? Pin
_Flaviu18-Mar-11 2:23
_Flaviu18-Mar-11 2:23 
GeneralRe: What is corect way to send an CString through ::PostMessage(...) ? Pin
CPallini18-Mar-11 2:46
mveCPallini18-Mar-11 2:46 
QuestionHow can I tell the compiler that should compile only VC6 ? Pin
_Flaviu17-Mar-11 23:57
_Flaviu17-Mar-11 23:57 
AnswerRe: How can I tell the compiler that should compile only VC6 ? Pin
Niklas L18-Mar-11 0:31
Niklas L18-Mar-11 0:31 
GeneralRe: How can I tell the compiler that should compile only VC6 ? Pin
_Flaviu18-Mar-11 0:43
_Flaviu18-Mar-11 0:43 
GeneralRe: How can I tell the compiler that should compile only VC6 ? Pin
Niklas L18-Mar-11 1:30
Niklas L18-Mar-11 1:30 
GeneralRe: How can I tell the compiler that should compile only VC6 ? Pin
Ozer Karaagac18-Mar-11 2:13
professionalOzer Karaagac18-Mar-11 2:13 
GeneralRe: How can I tell the compiler that should compile only VC6 ? Pin
_Flaviu18-Mar-11 2:30
_Flaviu18-Mar-11 2:30 

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.