M
markpb
Hi,
I'm writing a smart-card based GINA for our company and its nearly
finished but I'm hitting some problems when I try to log errors to the
Windows Event log.
When I call RegisterEventSource("NULL", "SCGina") it returns null and
GetLastError returns 183, "Cannot create file when the file already
exists". I created the registry entry for SCGina in the
Eventlog\Applications key.
The same code works from a regular windows app, is it something I'm
doing wrong or is there something different I need to do from a GINA?
Thanks,
Mark
I'm writing a smart-card based GINA for our company and its nearly
finished but I'm hitting some problems when I try to log errors to the
Windows Event log.
When I call RegisterEventSource("NULL", "SCGina") it returns null and
GetLastError returns 183, "Cannot create file when the file already
exists". I created the registry entry for SCGina in the
Eventlog\Applications key.
The same code works from a regular windows app, is it something I'm
doing wrong or is there something different I need to do from a GINA?
Thanks,
Mark