Click here to Skip to main content
15,897,519 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Setting the Cursor Pin
Andy20222-Sep-06 0:37
Andy20222-Sep-06 0:37 
AnswerRe: Setting the Cursor Pin
prasad_som22-Sep-06 1:04
prasad_som22-Sep-06 1:04 
GeneralRe: Setting the Cursor [modified] Pin
krmed22-Sep-06 2:09
krmed22-Sep-06 2:09 
GeneralRe: Setting the Cursor Pin
prasad_som22-Sep-06 2:20
prasad_som22-Sep-06 2:20 
AnswerRe: Setting the Cursor Pin
_AnsHUMAN_ 21-Sep-06 22:26
_AnsHUMAN_ 21-Sep-06 22:26 
AnswerRe: Setting the Cursor Pin
Hamid_RT28-Sep-06 10:04
Hamid_RT28-Sep-06 10:04 
QuestionI did one small VISUAL c++ project. problem with VSS? Pin
G Haranadh21-Sep-06 21:55
G Haranadh21-Sep-06 21:55 
QuestionManipulating user input Pin
Cyclone0221-Sep-06 21:48
Cyclone0221-Sep-06 21:48 
Hi guys

I have been trying to make an app that takes simple user input then modifies the memory of some process acording to what the user typed using the writeprocesssomething method but the prob is that i need to modify an array for that as well. Lemme give an example:
I have made a CEdit variable and called it m_bytes(which contains the number of bytes to be written) next i made another variable and called it m_writetoprocess(contains the stuff to patch).

The dialog looks like this:


Bytes: 3

Patch with: 90908D

so now the array that i have made in the code will look like this:

array[3] = {90908D};

but u cant modify the memory that way so how do i change the user input so that it looks like this:

array[3] = {0x90, 0x90, 0x8D};


And one more thing is it possible to read binary data using readprocessmemory then display it in ASM code for ex if i used readprocessmemory like this:

ReadProcessMemory(hProcess, (VOID*)0x12A0D856, &memoryread, 4, 0};

then, lets say, that the memoryread variable contains this binary memory code: 74653298 now how do i change this code to ASM so that it looks like this: JMP 893256 ?

Please help me with this as i have been looking for an answer for ages now without success!

Thanks in advance

Cyclone




AnswerRe: Manipulating user input Pin
Eytukan21-Sep-06 22:15
Eytukan21-Sep-06 22:15 
QuestionHiding rows using CListCtrl Pin
flippydeflippydebop21-Sep-06 21:39
flippydeflippydebop21-Sep-06 21:39 
AnswerRe: Hiding rows using CListCtrl Pin
Naveen21-Sep-06 21:56
Naveen21-Sep-06 21:56 
AnswerRe: Hiding rows using CListCtrl Pin
Hamid_RT26-Sep-06 23:40
Hamid_RT26-Sep-06 23:40 
Question[Message Deleted] Pin
Susanmat21-Sep-06 20:38
Susanmat21-Sep-06 20:38 
AnswerRe: CListCtrl Pin
Naveen21-Sep-06 21:38
Naveen21-Sep-06 21:38 
AnswerRe: CListCtrl Pin
Hamid_RT21-Sep-06 22:12
Hamid_RT21-Sep-06 22:12 
GeneralRe: CListCtrl Pin
Hamid_RT26-Sep-06 23:40
Hamid_RT26-Sep-06 23:40 
Questionwindow properties Pin
Vissu8921-Sep-06 20:32
Vissu8921-Sep-06 20:32 
AnswerRe: window properties [modified] Pin
_AnsHUMAN_ 21-Sep-06 20:36
_AnsHUMAN_ 21-Sep-06 20:36 
GeneralRe: window properties Pin
Vissu8921-Sep-06 21:03
Vissu8921-Sep-06 21:03 
AnswerRe: window properties Pin
Eytukan21-Sep-06 21:57
Eytukan21-Sep-06 21:57 
Questioncstring to char * conversion Pin
namy121-Sep-06 20:11
namy121-Sep-06 20:11 
AnswerRe: cstring to char * conversion Pin
Mahesh Kulkarni21-Sep-06 20:14
Mahesh Kulkarni21-Sep-06 20:14 
AnswerRe: cstring to char * conversion Pin
kakan21-Sep-06 20:21
professionalkakan21-Sep-06 20:21 
GeneralRe: cstring to char * conversion Pin
namy121-Sep-06 22:49
namy121-Sep-06 22:49 
GeneralRe: cstring to char * conversion Pin
kakan22-Sep-06 0:10
professionalkakan22-Sep-06 0:10 

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.