🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools.mfc
Article #132

problem of FileSystem refresh when a file is created...

#132
From: Fr�d�ric VIALLET
Date: Tue, 23 Jan 2001 13:37
22 lines
1948 bytes
Hi,

I use MFC & VC++6.

I have a function which create a file (.html) (it open then write ....& then
close it).
this function return 0 is all is good (file successfully created).

In another function, i call the above function and then try to open the file
created (in a browser control in fact) but the browser doesn't find this
file !
In fact, if i open the explorer, i need to refresh (F5) to see the file,
else, it doesn't appear...

How to force refresh of FileSystem by programmation in order to reflect
changes ?
(i thinks it's the solution...make me know if i'm wrong)

Thanks for help on the subject !
Regards,

FRED
Technical Details
Message-ID: <94k1ef$jtp$1@s1.read.news.oleane.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!grolier!oleane.net!oleane!nnrp.oleane.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1138df,32212bbec0edec40,start
X-Google-Attributes: gid1138df,public
X-Google-Thread: f7a51,32212bbec0edec40,start
X-Google-Attributes: gidf7a51,public
X-Google-Thread: 1053e6,32212bbec0edec40,start
X-Google-Attributes: gid1053e6,public
X-Google-Thread: 104d65,32212bbec0edec40,start
X-Google-Attributes: gid104d65,public
X-Google-ArrivalTime: 2001-01-23 05:40:02 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!grolier!oleane.net!oleane!nnrp.oleane.net!not-for-mail
From: "Fr�d�ric VIALLET" <fviallet@com1.fr>
Newsgroups: comp.os.ms-windows.programmer.tools.mfc,fr.comp.os.ms-windows.programmation,microsoft.public.vc.language,microsoft.public.vc.mfc
Subject: problem of FileSystem refresh when a file is created...
Date: Tue, 23 Jan 2001 14:37:31 +0100
Organization: COM1
Lines: 27
Message-ID: <94k1ef$jtp$1@s1.read.news.oleane.net>
NNTP-Posting-Host: ns.com1.fr
X-Trace: s1.read.news.oleane.net 980257039 20409 62.161.40.253 (23 Jan 2001 13:37:19 GMT)
X-Complaints-To: abuse@oleane.net
NNTP-Posting-Date: Tue, 23 Jan 2001 13:37:19 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400