Thanks again Dima. That's good information. Assembly is something I have been wanting to get into but I haven't really had a chance. Perhaps I'll be able to study it a bit this summer. Anyway, as far as why the function is returning an error, if you'll look at the msdn article below, there is a MAX_PATH associated with GetTempFileName(). If that length is exceeded, an error is returned. Perhaps this is causing the issue? I looked at my powerslide folder and temp folder. Both are read only, however, system and my account have special privileges (read/write/etc.). That being said, ProcessMonitor shows powerslide as creating its temp files in the temp folder rather than the powerslide folder. For example C:\Users\Daniel\AppData\Local\Temp\powDCAB.tmp If the programmers had intended for the temp files to be placed in the same directory as the powerslide exe, as I thought you said in your last post, the extra file length may cause MAX_PATH to be exceeded. Just a theory. Not really sure as I've never had to call a kernel method in my meager programs. Also, I noticed the 1.01 patch refused to patch my hacked exe. When I get some time, I'll patch the original file to 1.04 then mod it.