Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HWND of app Pin
Prakash Nadar25-Apr-04 18:43
Prakash Nadar25-Apr-04 18:43 
Questionhow to left circular shift ? Pin
Marco M.25-Apr-04 7:14
Marco M.25-Apr-04 7:14 
AnswerRe: how to left circular shift ? Pin
Mike Nordell25-Apr-04 7:30
Mike Nordell25-Apr-04 7:30 
GeneralGetActivedocument, debug, release Pin
Anonymous25-Apr-04 6:53
Anonymous25-Apr-04 6:53 
GeneralRe: GetActivedocument, debug, release Pin
Mike Dimmick25-Apr-04 9:31
Mike Dimmick25-Apr-04 9:31 
GeneralCreating a log file Pin
Mortis25-Apr-04 6:35
Mortis25-Apr-04 6:35 
GeneralRe: Creating a log file Pin
peterchen25-Apr-04 10:17
peterchen25-Apr-04 10:17 
GeneralRe: Creating a log file Pin
f6425-Apr-04 11:17
f6425-Apr-04 11:17 
Hi there,
You may want to check the "Platform SDK Documentation" on the MSDN, look for "Event Logging".
Windows provide a mechanism to log events; you may have seen the Event Viewer on the Administrative tools.
Anyway, these are the functions available for this porpoise
Function                             Description
BackupEventLog                       Saves the specified event log to a backup file.
ClearEventLog                        Clears the specified event log, and optionally saves the current copy of the logfile to a backup file.
CloseEventLog                        Closes a read handle to the specified event log.
DeregisterEventSource                Closes a write handle to the specified event log.
GetEventLogInformation               Retrieves information about the specified event log.
GetNumberOfEventLogRecords           Retrieves the number of records in the specified event log.
GetOldestEventLogRecord              Retrieves the absolute record number of the oldest record in the specified event log.
NotifyChangeEventLog                 Enables an application to receive notification when an event is written to the specified event logfile.
OpenBackupEventLog                   Opens a handle to a backup event log.
OpenEventLog                         Opens a handle to an event log.
ReadEventLog                         Reads a whole number of entries from the specified event log.
RegisterEventSource                  Retrieves a registered handle to an event log.
ReportEvent                          Writes an entry at the end of the specified event log.


Fabian
GeneralRe: Creating a log file Pin
Jason Henderson25-Apr-04 18:27
Jason Henderson25-Apr-04 18:27 
GeneralRe: Creating a log file Pin
Mortis25-Apr-04 23:56
Mortis25-Apr-04 23:56 
Generalterminating processes Pin
Ryan McDermott25-Apr-04 5:16
Ryan McDermott25-Apr-04 5:16 
GeneralRe: terminating processes Pin
valikac25-Apr-04 5:36
valikac25-Apr-04 5:36 
GeneralRe: terminating processes Pin
Paul Ranson25-Apr-04 8:34
Paul Ranson25-Apr-04 8:34 
GeneralRe: terminating processes Pin
Shree25-Apr-04 19:02
Shree25-Apr-04 19:02 
QuestionAdding text to CRicheditctrl? Pin
CodeBrain25-Apr-04 5:08
CodeBrain25-Apr-04 5:08 
AnswerRe: Adding text to CRicheditctrl? Pin
Dominik Reichl25-Apr-04 6:19
Dominik Reichl25-Apr-04 6:19 
GeneralRe: Adding text to CRicheditctrl? Pin
CodeBrain25-Apr-04 7:24
CodeBrain25-Apr-04 7:24 
GeneralOpening a document Pin
Arnav25-Apr-04 3:53
Arnav25-Apr-04 3:53 
GeneralRe: Opening a document Pin
peterchen25-Apr-04 4:05
peterchen25-Apr-04 4:05 
GeneralRe: Opening a document Pin
Mike Dimmick25-Apr-04 9:33
Mike Dimmick25-Apr-04 9:33 
GeneralCustom Cursor Pin
Anonymous25-Apr-04 1:35
Anonymous25-Apr-04 1:35 
GeneralRe: Custom Cursor Pin
Michael Dunn25-Apr-04 5:09
sitebuilderMichael Dunn25-Apr-04 5:09 
Questionwhy do i get an image fudge? Pin
YaronNir25-Apr-04 0:56
YaronNir25-Apr-04 0:56 
AnswerRe: why do i get an image fudge? Pin
ohadp25-Apr-04 3:06
ohadp25-Apr-04 3:06 
GeneralRe: why do i get an image fudge? Pin
YaronNir25-Apr-04 3:23
YaronNir25-Apr-04 3:23 

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.