Page 1 of 1
Application Log
Posted: Sun May 29, 2005 3:13 pm
by trather
I would like to add an error message to the Windows application log if my program has a problem. I already have all the error's handled inside the program I just don't have any idea how to put an error message in the Windows eventviewer under applications. Can someone point me in the correct direction.
Thansk
Posted: Sun May 29, 2005 4:10 pm
by Sparkie
This looks like a good place to start.
Reporting an Event
Posted: Thu Jun 02, 2005 4:41 am
by trather
I don't understand the structure to be able to make it work in PB. Can you help me out with the code to write a basic error to the event log.
hmm...
Posted: Mon Jan 16, 2006 12:31 am
by someone_else
So how does one write to the Application log using PureBasic?
Posted: Mon Jan 16, 2006 12:34 am
by Droopy
Look at PBOSL ( NTLOG functions )
The source code is provided

PBOSL, eh?...
Posted: Mon Jan 16, 2006 1:11 am
by someone_else
Thanks Droopy, I'll look into it.