šŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: comparing Dates

#14021
From: Luiz Rafael Culik Guimaraes
Date: Fri, 05 Sep 2003 13:35
18 lines
1785 bytes
Hi Bob
> In your case, you start with FILETIME, so no converion is required!
> delete this
> >//            if( FileTimeToLocalFileTime( &Lastff32.ftLastAccessTime,
&ft )&&
> >//               FileTimeToSystemTime( &ft, &time ) &&
> >//               FileTimeToLocalFileTime( &ftLastWriteTime, &ft1 ) &&
> >//               FileTimeToSystemTime( &ft1, &time1 )     )
>
> Simply do this:
> 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
Regards
Luiz
Technical Details
Message-ID: <3f58913f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f574a3e$1@newsgroups.borland.com> <asjelv8fq5h0jkedp42auupaqs62b3c3jd@4ax.com> <3f5764ed@newsgroups.borland.com> <988flvoobe4fh7v2jhkajaglttf6kf5clr@4ax.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 06:39:50 PST
From: "Luiz Rafael Culik Guimaraes" <culikr@uol.com.br>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f574a3e$1@newsgroups.borland.com> <asjelv8fq5h0jkedp42auupaqs62b3c3jd@4ax.com> <3f5764ed@newsgroups.borland.com> <988flvoobe4fh7v2jhkajaglttf6kf5clr@4ax.com>
Subject: Re: comparing Dates
Date: Fri, 5 Sep 2003 10:35:40 -0300
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 200.180.162.184
Message-ID: <3f58913f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1062768959 200.180.162.184 (5 Sep 2003 06:35:59 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail