Hi UC,
I'm trying to use an inline-assembly command which isn't recognized by Microsofts vc++ compiler. So I'm trying to emulate the command by using "_emit". Now the problem is that I need an absolute address in the command. A function in my dll to be exact.
But I don't know how to "emit" this address so the compiler will add the address to the relocation table.
Is there a way to do this via the precompiler..?
Thanks in advance,
Mi4uric3
I'm trying to use an inline-assembly command which isn't recognized by Microsofts vc++ compiler. So I'm trying to emulate the command by using "_emit". Now the problem is that I need an absolute address in the command. A function in my dll to be exact.
But I don't know how to "emit" this address so the compiler will add the address to the relocation table.
Code:
void Function1() {
// Do something
}
void Function2() {
__asm {
// _emit stuff
Absolute address of Function1
}
}Thanks in advance,
Mi4uric3
Aucun commentaire:
Enregistrer un commentaire