D Dll injection problem
maarten van damme
maartenvd1994 at gmail.com
Thu Apr 12 07:42:48 PDT 2012
works and GetLastError() returns 0 in both cases.
Op 12 april 2012 16:13 schreef Kagamin <spam at here.lot> het volgende:
> #include <windows.h>
> void main()
> {
> LPTHREAD_START_ROUTINE LoadLibAddy = (LPTHREAD_START_ROUTINE)**
> GetProcAddress(**GetModuleHandle("kernel32.dll"**), "LoadLibraryA");
> CreateThread(NULL,0,**LoadLibAddy,"mydll.dll",0,**NULL);
> }
>
> ?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20120412/ce6b7e46/attachment.html>
More information about the Digitalmars-d-learn
mailing list