Article View: borland.public.cppbuilder.nativeapi
Article #16863Re: LARGE_INTEGER
From: Remy Lebeau (TeamB)
Date: Tue, 22 Apr 2003 20:01
Date: Tue, 22 Apr 2003 20:01
25 lines
1581 bytes
1581 bytes
"Terry" <terry@helloworld.com> wrote in message
news:3ea59478@newsgroups.borland.com...
> TBlobField(Table.FieldByName('Content')).SaveToStream(TOleStream.Creat
> e(DataStream));
Here you go:
((TBlobField*)Table->FieldByName("Content"))->SaveToStream(new
TOleStream(DataStream));
> [C++ Error] Unit2.cpp(117): E2034 Cannot convert 'int' to
> '_LARGE_INTEGER'
LARGE_INTEGER is a structure, but you're trying to pass a single numeric
value instead. The first parameter of Seek() needs to be like this instead:
LARGE_INTEGER li
li.QuadPart = 0;
DataStream->Seek(li, ...);
Gambit
Technical Details
Message-ID:
<3ea59f5b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3ea59478@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,4eabcb52bed687e2 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-22 13:02:10 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ea59478@newsgroups.borland.com> Subject: Re: LARGE_INTEGER Date: Tue, 22 Apr 2003 13:01:16 -0700 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3ea59f5b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1051041627 207.175.226.26 (22 Apr 2003 13:00:27 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail