🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: To know when a file is modified

#1214
From: Remy Lebeau (TeamB)
Date: Tue, 09 Oct 2007 09:11
12 lines
1099 bytes
"Danny" <danny2912@libero.it> wrote in message
news:470b1068@newsgroups.borland.com...

> Currently I use a loop and check the time file,
> but isn't a good way.

Look at FindFirstChangeNotification() and related functions, or at
SHChangeNotifyRegister().


Gambit
Technical Details
Message-ID: <470b4607$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <470b1068@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,db03f0a10c4cfc4d
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <470b1068@newsgroups.borland.com>
Subject: Re: To know when a file is modified
Date: Tue, 9 Oct 2007 02:11:41 -0700
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.83.29.61
Message-ID: <470b4607$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1191921159 75.83.29.61 (9 Oct 2007 02:12:39 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail