Click here to Skip to main content
15,890,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Can we use registry for.. Pin
Chris Losinger19-Jun-09 3:40
professionalChris Losinger19-Jun-09 3:40 
AnswerRe: Can we use registry for.. Pin
Vaclav_19-Jun-09 14:11
Vaclav_19-Jun-09 14:11 
QuestionHow to write to the part of memory with no Writeable permission Pin
trungkiendt819-Jun-09 2:21
trungkiendt819-Jun-09 2:21 
AnswerRe: How to write to the part of memory with no Writeable permission Pin
molesworth19-Jun-09 2:36
molesworth19-Jun-09 2:36 
GeneralRe: How to write to the part of memory with no Writeable permission Pin
trungkiendt819-Jun-09 3:03
trungkiendt819-Jun-09 3:03 
GeneralRe: How to write to the part of memory with no Writeable permission Pin
Cedric Moonen19-Jun-09 3:05
Cedric Moonen19-Jun-09 3:05 
GeneralRe: How to write to the part of memory with no Writeable permission Pin
trungkiendt819-Jun-09 3:19
trungkiendt819-Jun-09 3:19 
GeneralRe: How to write to the part of memory with no Writeable permission Pin
molesworth19-Jun-09 4:36
molesworth19-Jun-09 4:36 
A debugger is effectively the same process as the program it's debugging (OK, this is a very big generalisation) so it can access the memory without any problems. However, in a debugger, e.g. Visual Studio, you'll find that you still get errors if you try to access protected memory, like memory in a completely different process.

Debuggers aren't doing anything special, it's just the way they interact with the program being debugged that makes it look like they are. Smile | :)


edit : Actually, I think a lot of these kinds of questions come down to low-level stuff like assembler and computer architecture not being taught any more. Knowing what goes on under the hood can help you understand things a lot better, and often help you write better code. I've even had someone (a graduate, believe it or not) ask me "When you call a function, how does it know where to return back to?". OMG | :OMG:

There are three kinds of people in the world - those who can count and those who can't...

GeneralRe: How to write to the part of memory with no Writeable permission Pin
Stuart Dootson19-Jun-09 3:08
professionalStuart Dootson19-Jun-09 3:08 
GeneralRe: How to write to the part of memory with no Writeable permission Pin
norish19-Jun-09 6:04
norish19-Jun-09 6:04 
Questionproject setting Pin
transoft19-Jun-09 2:17
transoft19-Jun-09 2:17 
AnswerRe: project setting Pin
David Crow19-Jun-09 2:48
David Crow19-Jun-09 2:48 
AnswerRe: project setting Pin
Stuart Dootson19-Jun-09 3:05
professionalStuart Dootson19-Jun-09 3:05 
QuestionPreprocessor question Pin
rrrado19-Jun-09 2:08
rrrado19-Jun-09 2:08 
AnswerRe: Preprocessor question Pin
Stuart Dootson19-Jun-09 2:26
professionalStuart Dootson19-Jun-09 2:26 
GeneralRe: Preprocessor question Pin
rrrado19-Jun-09 2:45
rrrado19-Jun-09 2:45 
GeneralRe: Preprocessor question Pin
Stuart Dootson19-Jun-09 3:36
professionalStuart Dootson19-Jun-09 3:36 
AnswerRe: Preprocessor question Pin
CPallini19-Jun-09 2:26
mveCPallini19-Jun-09 2:26 
QuestionXMLHTTP createinstance exception Pin
Ash_VCPP19-Jun-09 2:00
Ash_VCPP19-Jun-09 2:00 
AnswerRe: XMLHTTP createinstance exception Pin
CPallini19-Jun-09 2:13
mveCPallini19-Jun-09 2:13 
GeneralRe: XMLHTTP createinstance exception Pin
Ash_VCPP19-Jun-09 2:38
Ash_VCPP19-Jun-09 2:38 
GeneralRe: XMLHTTP createinstance exception Pin
CPallini19-Jun-09 3:10
mveCPallini19-Jun-09 3:10 
AnswerRe: XMLHTTP createinstance exception Pin
rrrado19-Jun-09 2:22
rrrado19-Jun-09 2:22 
GeneralRe: XMLHTTP createinstance exception Pin
Ash_VCPP19-Jun-09 2:40
Ash_VCPP19-Jun-09 2:40 
GeneralRe: XMLHTTP createinstance exception Pin
rrrado19-Jun-09 2:48
rrrado19-Jun-09 2:48 

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.