Re: Delphi BPL ADO : You do not have an appropriate license to use this functionality.



"bambam" <bamile@xxxxxxxxxxx> wrote in message news:opsy7ha1sq8z9nk5@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> Hello!
>
> I have the following problem and I'm a bit desperate.
>
> I'm making a BPL library. I need to acces a database with this library.
> So, I include the ADODB module. When I create an ADOQuery
> aQry := TADOQuery.Create(Self);
>
> it gives me the following message :
>
Hi,

I haven't come across this before, but wonder if instead it's an issue with CoInitialize not being called. Normally CoInitialize would be called automatically if an ADO component is in your main program, but I don't know if this would happen within a package. You will find the methods CoInitialize and CoUninitialize in the ActiveX unit - just insert a call to CoInitialize at the very beginning of your program and CoUninitialize at the end and see if the error goes away.

HTH
Andrew
.



Relevant Pages

  • Delphi BPL ADO : You do not have an appropriate license to use this functionality.
    ... I have the following problem and I'm a bit desperate. ... I need to acces a database with this library. ... english message. ...
    (comp.lang.pascal.delphi.components.writing)
  • Delphi BPL ADO : You do not have an appropriate license to use this functionality.
    ... I have the following problem and I'm a bit desperate. ... I need to acces a database with this library. ... english message. ...
    (borland.public.delphi.database.ado)
  • ms Access 2000
    ... I have written and distributed my first application using ms acces as ... I need to update the application which required a database change. ... I need to do this from a distribution disc ... Prev by Date: ...
    (comp.databases.ms-access)
  • Re: Migrate to access ... help !!!
    ... What is the best approach to migrate the acces database? ... Firstly you can import the data into an Access database, each .DBF file becomes a new table. ... If you convert an existing field to an autonumber Access will take the highest existing number and start adding 1 to it each time you create a new record. ...
    (microsoft.public.access.tablesdbdesign)
  • repost: Help with error "80070005"
    ... The Messaging Engine failed to retrieve the configuration from the database. ... It seems that BT does not configure correctly in my environment even though ... I'm desperate - would anyone be willing to look at my ...
    (microsoft.public.biztalk.general)