Runtime error 5 when reading write protected file
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
Free Pascal Compiler version 1.0.4 [2000/12/30] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Win32 for i386
Compiling readfile.pas
Linking c:\pp\user\exe\readfile.exe
10 Lines compiled, 0.2 sec
$ readfile
Runtime error 5 at 0x0040BD37
0x0040BD37 main, line 7 of readfile.pas
0x0040B469
This error occurs if the file has the readonly attribute set.
Additional information:
Reporter: Louis Jean-Richard
EMail: Ljean_richard at compuserve dot com
Mantis conversion info:
- Mantis ID: 3956
- OS: WIN32
- Version: Older
- Fixed in version: N/A