Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Play a sound from a resource Pin
Leyu27-Oct-04 10:25
Leyu27-Oct-04 10:25 
GeneralRe: Play a sound from a resource Pin
David Crow27-Oct-04 10:28
David Crow27-Oct-04 10:28 
GeneralRe: Play a sound from a resource Pin
David Crow27-Oct-04 7:45
David Crow27-Oct-04 7:45 
GeneralEvent Log automation Pin
jet915327-Oct-04 4:04
jet915327-Oct-04 4:04 
GeneralRe: Event Log automation Pin
David Crow27-Oct-04 6:11
David Crow27-Oct-04 6:11 
GeneralRe: Event Log automation Pin
jet915327-Oct-04 7:00
jet915327-Oct-04 7:00 
GeneralRe: Event Log automation Pin
David Crow27-Oct-04 10:26
David Crow27-Oct-04 10:26 
GeneralRe: Event Log automation Pin
jet915327-Oct-04 10:55
jet915327-Oct-04 10:55 
Sorry but no, these functions do not help. I think i need to explain myself better. On my PC i set up auditing on a select folder, "C:\Image_Db". Any time someone looks at one of these files, deletes a file, changes a file, I want to know who did it, at what time, what file, and what they did to the file. The solution i found was to audit these files through windows event logs. Currently i have to manually find the 564 event and then find the corresponding 560 that gives the file name.
I recently discovered a set of API functions that allow for access to the event logs. I am able to get the eventID, the user, the time, but i can not figure out a way to get the file that was accessed. I think the filename is embedded in the EVENTLOGRECORD structure, after StringOffSet, as described in the MSDN website. I want to know how i can get that data out of the structure. I am not sure if this is possible and I have seen no reference to it on the internet. If you can point me in any direction what so ever i would be grateful.


If you know of a better way that i can log all changes made to a file i would like to hear it.

Thank you for all your help thus far.
GeneralRe: Event Log automation Pin
David Crow28-Oct-04 4:58
David Crow28-Oct-04 4:58 
GeneralRe: pointer to a combobox Pin
Shotgun27-Oct-04 3:35
Shotgun27-Oct-04 3:35 
GeneralCustom build Pin
0v3rloader27-Oct-04 3:31
0v3rloader27-Oct-04 3:31 
GeneralRe: Custom build Pin
RChin27-Oct-04 4:30
RChin27-Oct-04 4:30 
GeneralRe: Custom build Pin
Blake Miller27-Oct-04 4:54
Blake Miller27-Oct-04 4:54 
GeneralRe: Custom build Pin
0v3rloader27-Oct-04 6:29
0v3rloader27-Oct-04 6:29 
GeneralRe: Custom build Pin
Blake Miller27-Oct-04 9:39
Blake Miller27-Oct-04 9:39 
GeneralMerging different files into one big file Pin
gunnar6627-Oct-04 3:31
gunnar6627-Oct-04 3:31 
GeneralRe: Merging different files into one big file Pin
Blake Miller27-Oct-04 4:57
Blake Miller27-Oct-04 4:57 
QuestionSeveral views for one document in MDI? Pin
T.T.H.27-Oct-04 3:20
T.T.H.27-Oct-04 3:20 
AnswerRe: Several views for one document in MDI? Pin
l a u r e n27-Oct-04 15:19
l a u r e n27-Oct-04 15:19 
GeneralRe: Several views for one document in MDI? Pin
T.T.H.28-Oct-04 23:33
T.T.H.28-Oct-04 23:33 
AnswerRe: How to get the path of a file in VC++ Pin
Maximilien27-Oct-04 2:42
Maximilien27-Oct-04 2:42 
GeneralDirectShow Pin
mcsherry27-Oct-04 1:56
mcsherry27-Oct-04 1:56 
GeneralRe: DirectShow Pin
mcsherry28-Oct-04 2:29
mcsherry28-Oct-04 2:29 
QuestionHow to Change Audio device Volume ? Pin
P_JAYAPRAKASH27-Oct-04 1:39
P_JAYAPRAKASH27-Oct-04 1:39 
AnswerRe: How to Change Audio device Volume ? Pin
David Crow27-Oct-04 2:47
David Crow27-Oct-04 2:47 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.