i wrote up a dll in masm and im having trouble loading the dll. here is my entry point http://rafb.net/paste/results/UjqIYO67.html loadlibrarya returns null ... any help please ?
problem solved, turns out it was the createthread call that was causing it to fail :snooty: forgot to use addr nThread
Interesting.
What are you doing that requires you to create a thread during the loading of the DLL when a process attaches ?