Solved

current occupied size of System Event Log

Posted on 2000-03-30
4
244 Views
Last Modified: 2010-04-02
How can I find the currently occupied size of the System Event Log (programatically) using VC 5,
on Win NT 4.0, sp 5.
0
Comment
Question by:thangamani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 25 total points
ID: 2672846
You can use the GetNumberOfEventLogRecords() function.

Let me know if you have any questions.
0
 

Author Comment

by:thangamani
ID: 2675557
Can the size be found using GetNumberOfEventLogRecords() function. This only gives the number of records only
0
 

Author Comment

by:thangamani
ID: 2675565
Can the size be found using GetNumberOfEventLogRecords() function. This only gives the number of records only.Can the answer be more clear

0
 
LVL 22

Expert Comment

by:nietod
ID: 2675834
You've already graded the answer and given me a bad grade.  Now you want more help?   If you want more help you should not grade the answer, then you could reject the answer if the additional help is not available or your could potentially give a a good grade if you get the answer you are looking for.

There is no even-related function that returns the size in bytes--basically no one really cares about that.  but you can use the GetFileSize() function to get the size of the even file (or any file) in bytes.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Quicksort a dynamic deque 33 84
C++ get user from AD  (VS6) 7 111
Parsing XML instructions in Java/any other language.... 3 129
Winapi.Windows.hpp problem 7 46
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question