-
About file opening
Hi I was doing this proj where i Found something weird there was a file that I needed to access that I created but the weird thing is if I accessed it by CreateFile() API it would return INVALID_HANDLE_VALUE and there was no bug's in the code but when I sleep() few mili sec about 100 or something does that mean that I have to wait little bit until I access files in windows or thats something on my system .. ?
-
-
Quote:
Originally Posted by
Salem
Wow!
hmm ?
-
-
Quote:
Originally Posted by
_Mike
ah yes thanks it didn't come to mind to getlasterror even though it worked after little delay I want to know why it doesn't work without delay.
-
If you want a decent answer, post some ACTUAL code that replicates the problem.
Not some massive run-on sentence about your toe-nail clippings.