Pass on the error - But do they have the right version of access installed that 
supports this call?, or it (access) may need re-installing if the app works okay on 
other machines.

You could try searching for "40112" in the delphi library. I would suspect it is an 
Access error, not just a straight COM error.

Join the crowd - I've never had luck in matching a HResult to an actual Error Code - 
Always seems to get errors that are not supposed to be returned by the CO/COM 
functions.
Myles.

-----Original Message-----
From:   Chris Crowe [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, June 02, 1999 10:49 AM
To:     Multiple recipients of list Delphi
Subject:        [DUG]:  OLE ERROR - urgent

I have a person who is using a small app which I wrote to add a field to a Access.MDB 
and gets the following error:

Exception EOleSysError in module ADDFIELDTODB.EXE at 0008BC75
OLE error 80040112

Does anyone know what the OLE Error is? I could not find it in my MSDN Library.

It is happening at this point:

 Engine := CoDBEngine.Create; //Init DaoEngine

Chris

Christopher Crowe (Software Developer)
Microsoft MVP, MCP

Adrock Software
Byte Computer & Software LTD
P.O Box 13-155 
Christchurch
New Zealand
Phone/Fax (NZ) 03-3651-112

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

application/ms-tnef

Reply via email to