Article View: borland.public.cppbuilder.database.ado
Article #1380Re: Application is not licensed...
From: Angel
Date: Thu, 29 Jul 2004 08:50
Date: Thu, 29 Jul 2004 08:50
39 lines
2046 bytes
2046 bytes
Open your project's '.bpr' file with a text editor and look for the
following section
<LINKER>
<ALLOBJ value="c0w32.obj $(PACKAGES) $(OBJFILES)"/>
<ALLRES value="$(RESFILES)"/>
<ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cw32.lib"/>
</LINKER>
If you find it, there is an error, because you are linking your app with
the single-threaded 'cw32.lib' library. Type 'cp32mt.lib' instead , that
is the multi-threading version of the library.
Also open your 'default.bpr' file and make the same changes if necessary.
Good Luck.
Patrick Wong wrote:
> Dear all,
>
> I attempt to call a stored procedure in Oracle DB using ADO. When I place
> an ADOStoredProc and try to run an exception is raised with the message:
>
> "Application is not licensed to use this feature"
>
> Is it related to the CoInitialize()... CoUninitialize() pair? I tried
> adding them but it did not help.
>
> With the ADOConnection only does not have this problem.
>
> Any one have idea please.
>
> Thanks,
> Patrick Wong
>
>
>
Technical Details
Message-ID:
<4108ba95$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40fcd46b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,b23d7bfc6184d813 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 29 Jul 2004 10:50:56 +0200 From: Angel <user@example.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Application is not licensed... References: <40fcd46b@newsgroups.borland.com> In-Reply-To: <40fcd46b@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.37.37.240 Message-ID: <4108ba95$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1091091093 213.37.37.240 (29 Jul 2004 01:51:33 -0700) Lines: 39 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail