Article View: borland.public.cppbuilder.database.ado
Article #2143Re: how to read blobs field via ADO from msmsql 2000
From: Viatcheslav V. Vassiliev
Date: Thu, 23 Oct 2003 10:18
Date: Thu, 23 Oct 2003 10:18
21 lines
1647 bytes
1647 bytes
It is not bitmap object - it is OLE field and it has information about OLE object (the same as in MS Access). Bitmap starts at offset 78. So use Stream->Seek(78, soFromBeginning) and then load it into TBitmap. //---------------------- Regards, Viatcheslav V. Vassiliev http://www.oledbdirect.com The fastest way to access MS SQL Server, MS Jet (Access) and Interbase (through OLEDB) "Robert Wyr�biak" <rob_wyr@wp.pl> �������/�������� � �������� ���������: news:bn7ur6$3ah$1@mail.sources.pl... > I try reading from Northwind database blobs fields > dbimage return message "bitmap image is not valid" > help please !! > rob > > >
Technical Details
Message-ID:
<3f97ada2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<bn7ur6$3ah$1@mail.sources.pl>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,f11219e920df36ea X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-10-23 03:39:28 PST From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <bn7ur6$3ah$1@mail.sources.pl> Subject: Re: how to read blobs field via ADO from msmsql 2000 Date: Thu, 23 Oct 2003 14:18:04 +0400 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 213.234.218.42 Message-ID: <3f97ada2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1066904994 213.234.218.42 (23 Oct 2003 03:29:54 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail