is there any way to turn off exception message showing during run-time in Delphi application? i think there must be a directive to turn off exception message but i cant remember
I use the IDE to turn it off:
In Delphi 2007, click Tools / Options and go right down to Debugger Options / CodeGear debuggers / Native OS Exceptions. Select "Run Unhandled". The debugger will not halt on exceptions, but act the same as running from an exe. Exceptions will be handled as such.
For directives, I don't know of one that can exactly do the above, but maybe this will help:
http://www.delphibasics.co.uk/ByType.asp?Type=Compiler%20Directive