Article View: borland.public.cppbuilder.nativeapi
Article #14026Re: comparing Dates
From: Bob Gonder
Date: Fri, 05 Sep 2003 16:18
Date: Fri, 05 Sep 2003 16:18
15 lines
1748 bytes
1748 bytes
Luiz Rafael Culik Guimaraes wrote: >> if( (LONG_INTEGER)ftLastWriteTime > >> (LONG_INTEGER)Lastff32.ftLastAccessTime ) >> > ftLastWriteTime = Lastff32.ftLastAccessTime; > >Thanks for sugestion, but iļæ½m getting the incompatible type convertion >error, what should i do Make two LONG_INTEGER variables and copy the FILETIMEs to the LONG_INTEGERs: LONG_INTEGER LastWriteTIme, LastAccessTime; memcpy(&LastWriteTime,&ftLastWriteTime,sizeof(LONG_INTEGER)); You might have to cast the pointers to (char*).
Technical Details
Message-ID:
<phdhlv809s5u9s1g6t3u1hkp52dfosun60@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news-xfer2.atl.newshosting.com!63.218.45.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f574a3e$1@newsgroups.borland.com> <asjelv8fq5h0jkedp42auupaqs62b3c3jd@4ax.com> <3f5764ed@newsgroups.borland.com> <988flvoobe4fh7v2jhkajaglttf6kf5clr@4ax.com> <3f58913f@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,7bb8b0b789f7aaae X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-05 09:31:21 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: comparing Dates Date: Fri, 05 Sep 2003 09:18:24 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <phdhlv809s5u9s1g6t3u1hkp52dfosun60@4ax.com> References: <3f574a3e$1@newsgroups.borland.com> <asjelv8fq5h0jkedp42auupaqs62b3c3jd@4ax.com> <3f5764ed@newsgroups.borland.com> <988flvoobe4fh7v2jhkajaglttf6kf5clr@4ax.com> <3f58913f@newsgroups.borland.com> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 67.31.165.205 X-Trace: newsgroups.borland.com 1062778703 67.31.165.205 (5 Sep 2003 09:18:23 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news-xfer2.atl.newshosting.com!63.218.45.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail