According to POFFS2 nobody here has ever used or enquired about the CreateRemoteThread call before, but it seems quite fascinating... apparently it's only for NT/2K, but I read in an article that using by CreateRemoteThread it was possible to create a thread in a different process and then have it call LoadLibrary() from that thread to load your DLL into that process! That's too cool. Does anybody have any idea how to call this mysteriously API? I couldn't find any source on it in the Visual Basic world either, although there is a fair amount of C++ documentation on it
Here's the call as according to my PB win32api.inc file:
------------------
Here's the call as according to my PB win32api.inc file:
Code:
DECLARE FUNCTION CreateRemoteThread LIB "KERNEL32.DLL" ALIAS "CreateRemoteThread" _ (BYVAL hProcess AS LONG, lpThreadAttributes AS SECURITY_ATTRIBUTES, _ BYVAL dwStackSize AS LONG, BYVAL lpStartAddress AS LONG, lpParameter AS ANY, _ BYVAL dwCreationFlags AS LONG, lpThreadId AS LONG) AS LONG
------------------
Comment