Access error message. What does this mean?

From: Perry Way (no.delphipro.spam_at_no.spam.earthlink.net)
Date: 10/23/03


Date: Wed, 22 Oct 2003 17:10:42 -0700

I've been having one roadblock after another after another (in case you look
through the other posts) trying to access an Access database from a Delphi
.dll using a TADOConnection. When I call Open() I am getting errors trying
to connect to ANY Access database but not any other kind (such as SQL
Server).

After much hacking around I finally got Delphi to generate an error message
with more informative text to it by setting my connection string to point to
a *.udl file instead of setting the connection string to an actual
connection string containing the database environment particulars.

Error Message: Non-NULL controlling IUnknown was specified, and either the
requested interface was not IUnknown, or the provider does not support COM
aggregation.

Does anyone have a clue what the heck this is implying (exactly. not
supposed conjecture)?

I am fearful that Access cannot be accessed using ADO imported by a .dll
now.... this is what I am sensing from the error message, but this makes no
sense to me at all because why would Microsoft make such a piece of s***
database and expect the entire world to use it?

PW



Relevant Pages

  • Using a delphi dll from access
    ... I'm writing a dll that will be called by an access database. ... Everything works fine when calling the dll from a delphi application ...
    (alt.comp.lang.borland-delphi)
  • Almost Forgot How Obtuse C++ Can Be
    ... I've been spoiled by Delphi over the past 11 years. ... today to try and create a DLL that does PAR2 file decoding. ... kind of error message from the Delphi linker or compiler! ...
    (borland.public.delphi.non-technical)
  • Problem Connecting To Access Database
    ... an Access database. ... All of the apps were working fine on the web server. ... the same error message for all of them. ... RaisePostBackEvent(String eventArgument) ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Parameter problem..help is needed please
    ... > connection with an Access database is established through ... > parameter and an output parameter. ... The user inputs a value in textbox1 to ... > Why do I get this error message: ...
    (microsoft.public.sqlserver.programming)
  • Re: Operator in SQL like "Like"
    ... I have an Access database with a table called "product". ... The SQL that Access gives me for the query I am trying ... All of the operators used in Microsoft Jet SQL ... So it may be that the Like operator for Access SQL cannot be used in Delphi. ...
    (microsoft.public.access.modulesdaovba)