🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Double Wide String Returned in Stored Procedure Dataset

#260
From: TDD
Date: Fri, 02 Mar 2007 06:22
7 lines
1203 bytes
I'm calling a stored procedure using the TADOStoredProcedure that returns a 
dataset one of the fields returned is a wide string but when I call 
AsWideString I only get the first character.  By looking at the memory 
location in the debugger each character is 4 bytes rather than the expected 
2 bytes.  What gives?

Thanks 
Technical Details
Message-ID: <45e7c292@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,30da8d11071a7d98,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "TDD" <tdd@nospam.na>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Double Wide String Returned in Stored Procedure Dataset
Date: Thu, 1 Mar 2007 22:22:20 -0800
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 216.217.155.166
Message-ID: <45e7c292@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1172816530 216.217.155.166 (1 Mar 2007 22:22:10 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail