D Dll injection problem

Gyron Threk at web.de
Sat May 12 15:28:10 PDT 2012


On Thursday, 12 April 2012 at 14:43:01 UTC, maarten van damme
wrote:
> 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);
>> }
>>
>> ?

Any news about the Problem with D ?

I really would like to use D for that.


More information about the Digitalmars-d-learn mailing list