works and GetLastError() returns 0 in both cases.<br><br><div class="gmail_quote">Op 12 april 2012 16:13 schreef Kagamin <span dir="ltr"><spam@here.lot></span> het volgende:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
#include <windows.h><br>
void main()<br>
{<br>
  LPTHREAD_START_ROUTINE LoadLibAddy = (LPTHREAD_START_ROUTINE)<u></u>GetProcAddress(<u></u>GetModuleHandle("kernel32.dll"<u></u>), "LoadLibraryA");<br>
  CreateThread(NULL,0,<u></u>LoadLibAddy,"mydll.dll",0,<u></u>NULL);<br>
}<br>
<br>
?<br>
</blockquote></div><br>