Correct ‘in’ operator usage

Consider the following procedure in operator instead of if chain makes the code more compact and readable, but Delphi documentation is silent about it, and you should be aware of potential problems. The question is: should the in operator usage with constants only in brackets, for example be considered a good practice in Delphi?

What do I do when my program crashes with exception 0xc0000005 at address 0?

My Delphi program runs as an NT service and has been running fine for more than 2 months and then it stops suddenly and generates a crash dump: Faulting application name: tca_shctisvc_ip.exe, version: 7.1.0.1843, time stamp: 0x2a425e19 Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0xc0000005 Fault offset: 0x00000000 There were no … Read more