🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7368

High order word of __int64

#7368
From: Chris
Date: Sat, 12 Feb 2005 19:14
18 lines
1520 bytes
Hi

Can someone show me how to convert an __int64 into high and low order words 
for use in SetFilePointer that uses the high order word to support large 
files.

Thanks

Chris

From the Help for SetFilePointer

lpDistanceToMoveHigh
Points to the high-order word of the 64-bit distance to move. If the value 
of this parameter is NULL, SetFilePointer can operate only on files whose 
maximum size is 2^32 - 2. If this parameter is specified, the maximum file 
size is 2^64 - 2. This parameter also receives the high-order word of the 
new value of the file pointer. 
Technical Details
Message-ID: <420e55a3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsread.com!news-xfer.newsread.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,26f5011a53593fe2,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Chris" <chris@REMOVETHISchrischfmousey.karoo.co.uk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: High order word of __int64
Date: Sat, 12 Feb 2005 19:14:44 -0000
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 213.249.187.114
Message-ID: <420e55a3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1108235683 213.249.187.114 (12 Feb 2005 11:14:43 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsread.com!news-xfer.newsread.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail