🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #876

Re: Import ADO type library

#876
From: Angel
Date: Tue, 05 Jul 2005 14:00
23 lines
1691 bytes
It works!!! Why??? I don't understand. I did try casting CmdStr to BSTR 
and it didn't work.

Anyway, thank you very much.


Viatcheslav V. Vassiliev wrote:

> Try
> 
> DBCommand->CommandText = WideString(CmdStr);
> 
> break on next line and look what is in CommandText. Does it work for command 
> without parameters?
> 
> //------------------------------------------
> Regards,
> Vassiliev V. V.
> http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + 
> ADO.Net
> http://www.oledbdirect.com - The fastest way to access MS SQL Server,
> MS Jet (Access) and Interbase (through OLEDB)
> 
Technical Details
Message-ID: <42ca92bc$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42c91228$1@newsgroups.borland.com> <42c91c7d$1@newsgroups.borland.com> <42ca5c23$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,edb9422f973acd68
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 05 Jul 2005 16:00:51 +0200
From: Angel <user@example.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: Import ADO type library
References: <42c91228$1@newsgroups.borland.com> <42c91c7d$1@newsgroups.borland.com> <42ca5c23$1@newsgroups.borland.com>
In-Reply-To: <42ca5c23$1@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: <42ca92bc$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1120572092 213.37.37.240 (5 Jul 2005 07:01:32 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail