Event Log Category Showing as number instead of text value


created question on stack overflow


I am building an application that logs an event into the application log and the category is supposed to have a user friendly value instead of number.

I have built a native dll application in WIN32 DLL and used the MC.EXE File and I am scratching my head on this one.

I have configured Visual Studio to allow me to pick the encoding to use so I can prevent the invalid characters from being inserted.

The encoding that I am is using is unicode(UTF8 without signing) or US-ASCII

I place the dll that is compiled into the root directory of the unit tests, and main application and I have a setup mode that links the event log with the category message. That code can be found here.