The problem is that it always returns FALSE. No matter what. I have searched for hours and have not found any solution. Most people simply post a minute later that they figured it out, without actually posting the code or explaining. I am wondering what can I do so it actually says whether or not it exists. (And yes, hal.dll exists.)
hmm... Ok, I'll try these and see if it will work. Thx. Update: Yep, it wouldn't find the system files. I tried it on a text document on my desktop. Sure enough, it worked. Problem solved, thanks a lot!