Click here to Skip to main content
16,008,954 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do i create a progressbar in my application? Pin
valikac15-Oct-02 15:05
valikac15-Oct-02 15:05 
AnswerRe: How do i create a progressbar in my application? Pin
Michael Dunn15-Oct-02 19:41
sitebuilderMichael Dunn15-Oct-02 19:41 
GeneralSetScrollBarPos() problems Pin
dazinith15-Oct-02 10:54
dazinith15-Oct-02 10:54 
GeneralRe: SetScrollBarPos() problems Pin
alex.barylski15-Oct-02 19:44
alex.barylski15-Oct-02 19:44 
GeneralRe: SetScrollBarPos() problems Pin
dazinith16-Oct-02 3:22
dazinith16-Oct-02 3:22 
GeneralRe: SetScrollBarPos() problems Pin
alex.barylski16-Oct-02 15:41
alex.barylski16-Oct-02 15:41 
GeneralRe: SetScrollBarPos() problems Pin
dazinith17-Oct-02 3:26
dazinith17-Oct-02 3:26 
GeneralReadEventLog EventID Pin
15-Oct-02 10:49
suss15-Oct-02 10:49 
I'm having problems reading the proper EventID when reading the eventlog. Most of the Microsoft generated EventID's are OK, but some sources like Diskeeper will display as "1034662352" instead of "12" from the EventViewer.

Any ideas?

Here's a snippet of code that should give you an idea of what I'm doing...

pevlr = (EVENTLOGRECORD *) &bBuffer;

while (ReadEventLog(h, // event log handle
EVENTLOG_BACKWARDS_READ | // reads forward
EVENTLOG_SEQUENTIAL_READ, // sequential read
0, // ignored for sequential reads
pevlr, // pointer to buffer
BUFFER_SIZE, // size of buffer
&dwRead, // number of bytes read
&dwNeeded)) // bytes in next record
{
while (dwRead > 0)
{
printf("EventID: %d\n", pevlr->EventID);
}
pevlr = (EVENTLOGRECORD *) &bBuffer;
}


Questionhow to delete a file in code? Pin
ns15-Oct-02 10:18
ns15-Oct-02 10:18 
AnswerRe: how to delete a file in code? Pin
Rene De La Garza15-Oct-02 10:28
Rene De La Garza15-Oct-02 10:28 
GeneralRe: how to delete a file in code? Pin
ns15-Oct-02 10:36
ns15-Oct-02 10:36 
GeneralRe: how to delete a file in code? Pin
Ravi Bhavnani15-Oct-02 10:42
professionalRavi Bhavnani15-Oct-02 10:42 
GeneralRe: how to delete a file in code? Pin
ns15-Oct-02 10:46
ns15-Oct-02 10:46 
GeneralRe: how to delete a file in code? Pin
Ravi Bhavnani15-Oct-02 10:52
professionalRavi Bhavnani15-Oct-02 10:52 
GeneralRe: how to delete a file in code? Pin
Rickard Andersson2015-Oct-02 20:58
Rickard Andersson2015-Oct-02 20:58 
GeneralRe: how to delete a file in code? Pin
Daniel Turini15-Oct-02 10:42
Daniel Turini15-Oct-02 10:42 
GeneralRe: how to delete a file in code? Pin
Chris Richardson15-Oct-02 10:43
Chris Richardson15-Oct-02 10:43 
AnswerRe: how to delete a file in code? Pin
Joe Woodbury16-Oct-02 8:10
professionalJoe Woodbury16-Oct-02 8:10 
GeneralQuickie: Want control to lose focus Pin
Anonymous15-Oct-02 9:58
Anonymous15-Oct-02 9:58 
GeneralRe: Quickie: Want control to lose focus Pin
Ravi Bhavnani15-Oct-02 10:40
professionalRavi Bhavnani15-Oct-02 10:40 
GeneralRe: Quickie: Want control to lose focus Pin
Anonymous16-Oct-02 10:13
Anonymous16-Oct-02 10:13 
GeneralRe: Quickie: Want control to lose focus Pin
Ravi Bhavnani16-Oct-02 12:01
professionalRavi Bhavnani16-Oct-02 12:01 
Questionwhich STL container can do this? Pin
ns15-Oct-02 9:53
ns15-Oct-02 9:53 
AnswerRe: which STL container can do this? Pin
Christian Graus15-Oct-02 10:00
protectorChristian Graus15-Oct-02 10:00 
GeneralRe: which STL container can do this? Pin
Tomasz Sowinski15-Oct-02 11:01
Tomasz Sowinski15-Oct-02 11:01 

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.