Marqy
May 13th, 1999, 11:37 AM
I'm developing a database app using ADO. Everything is fine, however I want to implement a retry system which is used when the Open() call fails due to the database already being opened with the shareExclusive flag set. Open() throws a _com_error, but I can't find any indication of the reason for the exception (the HRESULT of this structure is E_FAIL, which is defined as an unspecified error). Does anyone know how to detect that this call has failed due to file locking?
Cheers
MJA
Cheers
MJA