Okay, I have written a little utility using the ReadDirectoryChangesW api. I am going to use the class that monitors the I/O stuff in a larger project to be my own personal FileSystemObject. I am trying to add everything I can into it, which includes events for file operations (so you can monitor when a file is created, or changed, etc.). So far the test utility I wrote to use the Class works like a charm, in NT 5.0 and up (W2k). But when I try to use it on an NT 4.0 machine, it flops. It won’t allow me to use the CreateFile API, without a valid Security Attribute type variable, and I’m having a dickens of a time trying to get it to work.
Anyone have experience with NT 4.0 Security? (Attributes and Descriptors)