Is this within a DLL that has been successfully injected into the target process or not? You should always check return values from API calls. You can step through your code or create trace messages to see what each value is and it should be obvious where you're going wrong. _________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum