🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.migration
Article #187

BDS2006 ADOQuery->CreateBlobStream problem

#187
From: Mathias Probst
Date: Sun, 17 Sep 2006 20:26
11 lines
1508 bytes
Hi
when I try to read a text from a memo-field of a database with the 
CreateBlobStream method I get the first character of the text, only.

TStream *Stream_Memo = 
MyADOQuery->CreateBlobStream(MyADOQuery->FieldByName(DataField), bmRead);
MyMemo->LoadFromStream(Stream_Memo);
delete Stream_Tree;

This problem i have with the BCB2006, only. In the BCB6 this fuctions works 
perfect. Know someone why?
Technical Details
Message-ID: <eekb2i$pek$02$1@news.t-online.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeedt0.toon.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,3a27ae3314916e02,start
X-Google-Attributes: gid110f51,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeedt0.toon.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
From: "Mathias Probst" <mathias.probst@t-online.de>
Newsgroups: borland.public.cppbuilder.migration
Subject: BDS2006 ADOQuery->CreateBlobStream problem
Date: Sun, 17 Sep 2006 22:26:58 +0200
Organization: T-Online
Lines: 16
Message-ID: <eekb2i$pek$02$1@news.t-online.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1158524818 02 26068 spGpLeqrLuu+lmg 060917 20:26:58
X-Complaints-To: usenet-abuse@t-online.de
X-ID: biuuyiZToelhhqq0STaJkrtsqOY7R0Bc6GfZ3LSIsj8BzWJ+099dEd
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original