Re: Delphi BPL ADO : You do not have an appropriate license to use this functionality.
- From: "Andrew" <abaylis_nos@xxxxxxxxxxx>
- Date: Thu, 27 Oct 2005 17:48:59 +1000
"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
.
- Follow-Ups:
- References:
- Prev by Date: Re: In-Memory Dataset
- Next by Date: Re: In-Memory Dataset
- Previous by thread: Delphi BPL ADO : You do not have an appropriate license to use this functionality.
- Next by thread: Re: Delphi BPL ADO : You do not have an appropriate license to use this functionality.
- Index(es):
Relevant Pages
|