Bro, i trying to do same thing

I done patching the file but now i need to hook GetModuleFileNameW to return program name. I made a loader. My target was anydvd, so i made loader, but anydvd checks program name.
btw, nerst, thanks millions times

I was wondering how to call VxDCall from delphi. I done my with VirtualProtect, but i made it work even without that. I... dont it different way
If someone has some experiance with Debug API, can you tell me, how do i load program so that it loads dlls from import table? I load with createproccess with DEBUG creation flag, but when i do that only exe header gets loaded to memory. I want dlls to load too so i can put a BP on them, or hook them