Click here to Skip to main content
       

C / C++ / MFC

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionFileSystemWatcher Class in Visual C++ 6.0memberForNow2 Jan '13 - 15:23 
Hi,
 
I need code to tell me when a file is baing created I noticed there is a managed class FileSystemWatcher that would do the trick from my research seems like it lives
in system.dll
 
My question is the following is it possible to use managed code meaning using namespace System along with System::IO With the Visual C++ 6.0 compiler
 
or this compiler is old and doesn't support managed code
 
I remember in the old days there was like export statements to use methods exposed
in DLL's and maybe with this compiler this the way to go
 
Any Direction would be appreciated
 
Thanks
AnswerRe: FileSystemWatcher Class in Visual C++ 6.0 PinmemberStephen Hewitt2 Jan '13 - 17:02 
Start with the FindFirstChangeNotification[^] function.
 
Steve

AnswerRe: FileSystemWatcher Class in Visual C++ 6.0 PinmemberMaximilien3 Jan '13 - 5:26 
No managed code with VC6 ... way too old.
Nihil obstat

AnswerRe: FileSystemWatcher Class in Visual C++ 6.0 PinmemberChris Losinger3 Jan '13 - 7:42 
this will work in VC6:
How to get a notification if change occurs in a specified directory[^]

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 23 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid