Click here to Skip to main content
15,894,405 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: XML namespace problem i think Pin
LCI14-Jun-05 11:48
LCI14-Jun-05 11:48 
GeneralRe: XML namespace problem i think Pin
Tom Archer14-Jun-05 12:17
Tom Archer14-Jun-05 12:17 
GeneralRe: XML namespace problem i think Pin
LCI15-Jun-05 5:56
LCI15-Jun-05 5:56 
GeneralMultiple languages in single resource file Pin
senseilee14-Jun-05 3:38
senseilee14-Jun-05 3:38 
GeneralRe: Multiple languages in single resource file Pin
Blake Miller14-Jun-05 9:19
Blake Miller14-Jun-05 9:19 
General[out] parameters for ActiveX control interface Pin
Ian Bowler14-Jun-05 6:31
Ian Bowler14-Jun-05 6:31 
GeneralRe: [out] parameters for ActiveX control interface Pin
Ian Bowler14-Jun-05 8:36
Ian Bowler14-Jun-05 8:36 
Generalbizarre asm problem Pin
heebiejeebies14-Jun-05 5:19
heebiejeebies14-Jun-05 5:19 
ok,im trying to work with António Feijão,Remote Library
ContextRemoteExecute, to execute code into an remote process(on windows 2000 SP4).I would post the code but its rather long winded,but basically here is what im doing

1-open remote process
2-allocate memory with VirtualAllocateEx
3-write my code to allocated spot
4-suspend thread
5-get threads context registers
6-change the threads Eip to my allocated mem (0x00C7001C)
7-resume thread,and it crashes.

here is the disassembly of the remote process(location returned by VirtualAllocateEx and where my injected code lies)
00C6FFFF ?? ???
00C70000 55 push ebp
00C70001 8B EC mov ebp,esp
00C70003 83 EC 40 sub esp,40h
00C70006 53 push ebx
00C70007 56 push esi
00C70008 57 push edi
00C70009 B8 B8 0B 00 00 mov eax,0BB8h
00C7000E 50 push eax
00C7000F FF 15 A0 88 4F 00 call dword ptr ds:[4F88A0h]
00C70015 5F pop edi
00C70016 5E pop esi
00C70017 5B pop ebx
00C70018 8B E5 mov esp,ebp
00C7001A 5D pop ebp
00C7001B C3 ret
00C7001C E8 00 00 C7 00 call 018E0021 //here is the problem
00C70021 EB FE jmp 00C70021
00C70023 00 00 add byte ptr [eax],al
00C70025 00 00 add byte ptr [eax],al

now i dont understand why "E8 00 00 C7 00" is calling 018E0021 ?? shouldnt it "call 00C70000" like its suppose to?Unsure | :~
GeneralCOleDateTime AddDays() Pin
DanYELL14-Jun-05 4:57
DanYELL14-Jun-05 4:57 
GeneralRe: COleDateTime AddDays() Pin
David Crow14-Jun-05 2:10
David Crow14-Jun-05 2:10 
GeneralRe: COleDateTime AddDays() Pin
DanYELL14-Jun-05 5:56
DanYELL14-Jun-05 5:56 
GeneralRe: COleDateTime AddDays() Pin
David Crow14-Jun-05 3:03
David Crow14-Jun-05 3:03 
GeneralConvert CString to CTime / COleDateTime Pin
P-Rex14-Jun-05 4:39
P-Rex14-Jun-05 4:39 
GeneralRe: Convert CString to CTime / COleDateTime Pin
David Crow14-Jun-05 2:07
David Crow14-Jun-05 2:07 
GeneralRe: Convert CString to CTime / COleDateTime Pin
P-Rex14-Jun-05 5:17
P-Rex14-Jun-05 5:17 
GeneralRe: Convert CString to CTime / COleDateTime Pin
David Crow14-Jun-05 2:22
David Crow14-Jun-05 2:22 
GeneralRe: Convert CString to CTime / COleDateTime Pin
DavidR_r14-Jun-05 8:00
DavidR_r14-Jun-05 8:00 
GeneralRe: Convert CString to CTime / COleDateTime Pin
David Crow14-Jun-05 8:04
David Crow14-Jun-05 8:04 
GeneralRe: Convert CString to CTime / COleDateTime Pin
JWood14-Jun-05 6:03
JWood14-Jun-05 6:03 
GeneralRe: Convert CString to CTime / COleDateTime Pin
P-Rex14-Jun-05 20:22
P-Rex14-Jun-05 20:22 
Questionmake stacktrace or what calls DllCanUnloadNow? Pin
ThinkingPrometheus14-Jun-05 4:21
ThinkingPrometheus14-Jun-05 4:21 
GeneralLooking for Dialog Manager component for VC++ 7. Pin
mlatimer14-Jun-05 4:00
mlatimer14-Jun-05 4:00 
QuestionHow to run a thread as a member function of a class? Pin
Eytukan14-Jun-05 3:45
Eytukan14-Jun-05 3:45 
AnswerRe: How to run a thread as a member function of a class? Pin
Bob Stanneveld14-Jun-05 4:08
Bob Stanneveld14-Jun-05 4:08 
GeneralRe: How to run a thread as a member function of a class? Pin
Eytukan14-Jun-05 1:43
Eytukan14-Jun-05 1:43 

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.