Rohit,
The trap is there is no such function! However, if you have a look at MSDN,
there is an obscure page that lists all the error codes against their mostly
obscure messages. The last time I looked this list has numbers ranging
from -8 to 600 plus (not all numbers are used). Seeing that this is a
growing list, I don't think M$ will be putting the descriptions in a
function...
> After having got the last error, how do I retrive the string
> description. I have done a search for possible candidates but cant
> seem to find the function.
------------------------------------------------------
Dennis Chuah, BE (Hons) [mailto:[EMAIL PROTECTED]]
Manager, Product Development
Contec Data Systems Ltd. [http://www.contecds.com]
tel: +64-3-3580075 fax: +64-3-3580045
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz