Logging events on NT Event Log

Hi there,
does anybody know how can i log an NT Event on the NT Event log in a console
application?, is there an api or a VCL class to do that?.

thanks in advance

Ernesto Marquina
Technology is dominates by two types of people: those
who understand what they do not manage, and those who
manage what they do not understand. -Anonymous