gizmote / Publications
Forum
FileOpen keep deleting the file
hi, I was wondering why my file (Test.txt) get deleted when i try to read from it using FileOpen. here is the code : int OnInit () { int h = FileOpen ( "Test.txt" , FILE_READ | FILE_ANSI | FILE_TXT ); if (h == INVALID_HANDLE ) Alert ( GetLastError ()); else Print