Help Code Asm In C++

Posts 1–6 of 6 · Page 1 of 1
Help Code Asm In C++
hello
i use Vcpp 6,and i'm trying to put ASM (in Block or In line is equal) in my code.
In header i add <window.h> but when i declare f.ex. mov,jmp,nop... in ASM function(i follow MSDN samples so the code(i try ASM block and also In line) should be right).
i need to change something in debug setting??
I think that Vcpp use MASM debug or i'm wrong?

Plz answer,thx!
If your using asm why don't you just compile it MASM? Instead of trying to compile it Visual C++.
Quote Originally Posted by nbr1dan View Post
If your using asm why don't you just compile it MASM? Instead of trying to compile it Visual C++.
^^ i don't know so much ASM but i know the base and how to code a code cave.
I like and preffer to use ASM in c++ ^^ and i also like to know why Vcpp 6 can't read my ASM code
-.- You want to write ASM(BYTE) code into a program, or you want to execute ASM code within you C++ code?

If you want to write a code cave, you should know at least the basics of ASM, seeing as the code cave will be programmed in ASM, then you have to convert the ASM code you wrote into bytes, then use the WriteProcessMemory API call to write them.
Quote Originally Posted by radnomguywfq3 View Post
-.- You want to write ASM(BYTE) code into a program, or you want to execute ASM code within you C++ code?

If you want to write a code cave, you should know at least the basics of ASM, seeing as the code cave will be programmed in ASM, then you have to convert the ASM code you wrote into bytes, then use the WriteProcessMemory API call to write them.
ok,look __asm

MSDN explain that u can write a part of your code directly in ASM,i saw that i can do a code cave in ASM (with asm syntax),but Vcpp cant read my asm^^ nop,call,jmp...are ALL undeclared for it.

I know how to do a code cave in ASM (never do it but study how can i do it,i like to try with ASM code directly in C++ code.
I don't know how to find my ASM byte of the code cave,but i know how to do a code cave directly in ASM.
Can anybody HELP ME?
I can't write some functions if i don't find how to write a code cave in C++ .
If u don't know how to help me with ASM code can u explian me how to find ASM byte(i just know how to find real byte do nop something address) and write a "writeprocessmemory ""code cave"""
i always think that code cave is only in ASM because with c++ i cant do a jump to another addy and than jump again.
Umm..Thats called executing ASM code in your C++ code\project.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us