QuestionPTC function in x64

Posts 1–3 of 3 · Page 1 of 1
PTC function in x64
anyone know how to code ptc in x64? because inline assembly is not supported in x64..
Quote Originally Posted by kjbmarr View Post
anyone know how to code ptc in x64? because inline assembly is not supported in x64..
Instead of using inline assembly, use an external assembler like MASMto get that done.
Also there's another ways to do PushToConsole without inline assembly.

Here's the a way i have been using time ago.
 
Code

Code:
BOOL PushToConsole_Function( DWORD ClientShell, DWORD LTClient, char * Command)
{
      (*(VOID (WINAPIV **) (CHAR*) )
      (*( (DWORD *) ClientShell+LTClient) + 0xLTClientOffset))  (Command);
}


//ClientShell = CShell.dll Module.
//LTClient = LTClient pointer which can be found on a string called: "FogEnable 0"
//LTClientOffset = ^^

USAGE: PushToConsole_Function(ClientShell,LTClient,"PushToConsole 0");
works like a charm..
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?