Does the fact that Manifest-based events are defined in resources mean that I can't generate the parameters (like Level, Message, EventID etc) at run-time without modifying the resources in binary?
当您编译事件清单时,字符串进入资源,但事件描述符进入头文件,该文件被编译到您的程序中。
您应该能够使用事件跟踪宏来更改预编译的事件描述符。