Well, i followed a tutorial (in french) that say to look for the process, get a PID and write in it.. din't mention about suspending, flushing cash and closing the process. I might go to that forum and point that to them too. It was working for me so i wanted to share my success with peoples who are learning like me but with WINDOWS, we never know what safe or not to do. I dont want people to get they computer formated or they mouse running around the house for no reason

. But i have no excuse for not documenting my code a better way. I am new to forums too
Thanks you TippeX for pointing my mistakes and take the time to show a better way to do it. Sometime we do things that we think it is the right way until someone better show you mistakes. I just printed that code that you wrote and for sure i will learn from it. I promise that if i publish working trainers, i will give credit to you. I hope i am not to much a noob.
I have to let go my bad habits from DOS programming if i want to be successfull in WINAPI programming. Now that i am comfortable with message flow, gdi and basic windows craps, i have to move to a new level. Actually, i use "programming for Windows 95" from charles Peztols.
Well, thanx again all.
Peace