Click here to Skip to main content
15,902,832 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC app to service app Pin
Tarundeep Singh Kalra4-Mar-05 8:02
Tarundeep Singh Kalra4-Mar-05 8:02 
GeneralLoadImage in ActiveX(MFC Based) Pin
DharmendraNathW3-Mar-05 21:52
DharmendraNathW3-Mar-05 21:52 
GeneralRe: LoadImage in ActiveX(MFC Based) Pin
Anand for every one3-Mar-05 22:48
Anand for every one3-Mar-05 22:48 
GeneralGetting logged data from the event log. Pin
VCBig3-Mar-05 20:42
sussVCBig3-Mar-05 20:42 
GeneralRe: Getting logged data from the event log. Pin
DharmendraNathW3-Mar-05 21:46
DharmendraNathW3-Mar-05 21:46 
GeneralRe: Getting logged data from the event log. Pin
VCSharp0073-Mar-05 22:03
VCSharp0073-Mar-05 22:03 
GeneralRe: Getting logged data from the event log. Pin
VCBig3-Mar-05 22:03
sussVCBig3-Mar-05 22:03 
GeneralRe: Getting logged data from the event log. Pin
cmk4-Mar-05 1:10
cmk4-Mar-05 1:10 
ReadEventLog() gets the entire record.
It gets the string, and any binary data blob as well.

Generally you call it twice, first to get the size of the record (then alloc a buffer to hold the entire record), then to actually get the record data.

Using the EVENTLOGRECORD.StringOffset field you can get the string data, using the EVENTLOGRECORD.DataOffset and EVENTLOGRECORD.DataLength fields you can get any binary data blob.


...cmk

Save the whales - collect the whole set
Generaldisable checkbox Pin
Anand for every one3-Mar-05 20:19
Anand for every one3-Mar-05 20:19 
GeneralRe: disable checkbox Pin
ThatsAlok3-Mar-05 20:23
ThatsAlok3-Mar-05 20:23 
GeneralRe: disable checkbox Pin
namaskaaram3-Mar-05 20:34
namaskaaram3-Mar-05 20:34 
GeneralName lookup Pin
Serge Krynine3-Mar-05 19:49
Serge Krynine3-Mar-05 19:49 
GeneralRe: Name lookup Pin
Ryan Binns3-Mar-05 19:53
Ryan Binns3-Mar-05 19:53 
GeneralRe: Name lookup Pin
Serge Krynine3-Mar-05 19:59
Serge Krynine3-Mar-05 19:59 
GeneralRe: Name lookup Pin
Ryan Binns3-Mar-05 20:02
Ryan Binns3-Mar-05 20:02 
Question"GetEventLogInformation()" not implemented in VC6 ? Pin
VCBig3-Mar-05 19:40
sussVCBig3-Mar-05 19:40 
AnswerRe: "GetEventLogInformation()" not implemented in VC6 ? Pin
Ryan Binns3-Mar-05 19:42
Ryan Binns3-Mar-05 19:42 
GeneralRe: "GetEventLogInformation()" not implemented in VC6 ? Pin
VCSharp0073-Mar-05 19:52
VCSharp0073-Mar-05 19:52 
GeneralRe: "GetEventLogInformation()" not implemented in VC6 ? Pin
Ryan Binns3-Mar-05 20:01
Ryan Binns3-Mar-05 20:01 
QuestionLimit of Class size ? Pin
zahid_ash3-Mar-05 19:34
zahid_ash3-Mar-05 19:34 
AnswerRe: Limit of Class size ? Pin
David Crow4-Mar-05 3:13
David Crow4-Mar-05 3:13 
AnswerRe: Limit of Class size ? Pin
Tarundeep Singh Kalra4-Mar-05 8:10
Tarundeep Singh Kalra4-Mar-05 8:10 
GeneralDialog Box Pin
Anand for every one3-Mar-05 18:24
Anand for every one3-Mar-05 18:24 
GeneralIt crashes ! Pin
vikramlinux3-Mar-05 17:55
vikramlinux3-Mar-05 17:55 
GeneralRe: It crashes ! Pin
Anand for every one3-Mar-05 18:27
Anand for every one3-Mar-05 18:27 

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.