An application can ask for the last error that occurred in setting up
the connection by calling the LastProgressError() member function
of RNif, passing it a TNifProgress object. On return,
the iError data member of the TNifProgress object
contains information on the last error which occurred.