Impossibility of return of an exit code from a Win32 program by assignment of certain value to the ExitCode variable.
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
Impossibility of return of an exit code from a Win32 program by assignment of certain value to the ExitCode variable.
Error in the Exe_entry procedure of the SysWin32 unit. ExitProcess(0) should be replaced with ExitProcess(ExitCode). Variable ExitCode must be initialized to 0 somewhere in main "begin..end" block of the SysWin32 unit.
Additional information:
Reporter: Igor N. Golubev
EMail: igor at tajnet dot com
Mantis conversion info:
- Mantis ID: 2805
- OS: WIN32
- Version: ?
- Fixed in version: 0.99.13