I'm using CreateFile function for opening files (in matter of fact devices, but I tried to ope a fle and I had the same problem).
When I devug the application, CreateFile function succeeds, but when I compile it and run as an exe file, it doesn't work (I'm getting handle=-1).
Anyone has an idea how to cope with this?
Thank you in advance
Daniel
When I devug the application, CreateFile function succeeds, but when I compile it and run as an exe file, it doesn't work (I'm getting handle=-1).
Anyone has an idea how to cope with this?
Thank you in advance
Daniel