When I use the CreateFile API function on my machine (win2000) it works perfectly, but when I create an installation and install it on another machine (win95), I am forever getting back -1.

Any ideas why it stops working?