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

C / C++ / MFC

 
GeneralOT Pin
CPallini4-Jan-10 0:39
mveCPallini4-Jan-10 0:39 
QuestionStructures Printing Pin
Razanust3-Jan-10 1:47
Razanust3-Jan-10 1:47 
AnswerRe: Structures Printing Pin
Richard MacCutchan3-Jan-10 3:07
mveRichard MacCutchan3-Jan-10 3:07 
AnswerRe: Structures Printing Pin
«_Superman_»3-Jan-10 6:40
professional«_Superman_»3-Jan-10 6:40 
AnswerRe: Structures Printing Pin
kanduripavan5-Jan-10 5:04
kanduripavan5-Jan-10 5:04 
QuestionHelp!Can anyone mail a copy of 'Photoshop File Format Document'? Pin
WrestSoft3-Jan-10 1:32
WrestSoft3-Jan-10 1:32 
AnswerRe: Help!Can anyone mail a copy of 'Photoshop File Format Document'? Pin
WrestSoft6-Jan-10 3:25
WrestSoft6-Jan-10 3:25 
QuestionRtlCopyMemory() question Pin
Mattzimmerer2-Jan-10 19:25
Mattzimmerer2-Jan-10 19:25 
I'm trying to code a driver that will read from either virtual or physical memory given an address and report the contents.

Obviously I would vrather read from virtual memory, but at this point I still have a lot to learn about the mysterious kernel lol...

This is where im looking: im going to try and copy the contents of an address into a buffer. The goal is one byte
using:

VOID
RtlCopyMemory(
IN VOID UNALIGNED *Destination,
IN CONST VOID UNALIGNED *Source,
IN SIZE_T Length
);

My first problem is how I am going to pass these parameters to my driver from my GUI.
Secondly, I could benifit from some insight on how this will work.

I am thinking that when my driver calls RtlCopyMemory() its going to get a pointer to a byte to copy, but I was planning on passing a virtual address. In that case i have the feeling I should also be passing a process handle, which is obviously not the case. So then is RtlCopyMemory intended to copy from physical memory into a buffer?

Other questions (lol):
What IRQL should I be operating at?
How can I convert a system::string^ into a LPCVOID, (system::string^ is from taking the text from a windows forms textbox)
I'm totally willing to write my own algorithm, I just dont know anything about the fundamental structure of system::string^. I dont even know what that ^ is lol...
AnswerRe: RtlCopyMemory() question Pin
«_Superman_»2-Jan-10 19:35
professional«_Superman_»2-Jan-10 19:35 
QuestionAccess CPU register Pin
ludi04232-Jan-10 18:51
ludi04232-Jan-10 18:51 
AnswerRe: Access CPU register Pin
«_Superman_»2-Jan-10 19:28
professional«_Superman_»2-Jan-10 19:28 
GeneralRe: Access CPU register Pin
ludi04232-Jan-10 19:46
ludi04232-Jan-10 19:46 
GeneralRe: Access CPU register Pin
«_Superman_»2-Jan-10 20:07
professional«_Superman_»2-Jan-10 20:07 
GeneralRe: Access CPU register Pin
Rajesh R Subramanian3-Jan-10 6:35
professionalRajesh R Subramanian3-Jan-10 6:35 
QuestionChange all window color Pin
Ruscoff2-Jan-10 11:42
Ruscoff2-Jan-10 11:42 
AnswerRe: Change all window color Pin
Richard MacCutchan2-Jan-10 21:54
mveRichard MacCutchan2-Jan-10 21:54 
Question[Message Deleted] Pin
Mattzimmerer2-Jan-10 3:28
Mattzimmerer2-Jan-10 3:28 
AnswerRe: System::String ^ to LPCVOID conversion? Pin
Chris Losinger2-Jan-10 5:39
professionalChris Losinger2-Jan-10 5:39 
QuestionCombobox in DLL Pin
Anu_Bala1-Jan-10 17:59
Anu_Bala1-Jan-10 17:59 
AnswerRe: Combobox in DLL Pin
Richard MacCutchan1-Jan-10 23:50
mveRichard MacCutchan1-Jan-10 23:50 
GeneralRe: Combobox in DLL Pin
Anu_Bala3-Jan-10 16:43
Anu_Bala3-Jan-10 16:43 
GeneralRe: Combobox in DLL Pin
Richard MacCutchan3-Jan-10 22:05
mveRichard MacCutchan3-Jan-10 22:05 
GeneralRe: Combobox in DLL Pin
Anu_Bala3-Jan-10 23:17
Anu_Bala3-Jan-10 23:17 
GeneralRe: Combobox in DLL Pin
Richard MacCutchan3-Jan-10 23:40
mveRichard MacCutchan3-Jan-10 23:40 
GeneralRe: Combobox in DLL Pin
Anu_Bala4-Jan-10 0:49
Anu_Bala4-Jan-10 0:49 

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.