I'm kinda used to how C # applications can create performance counters - just by instantiating a new object PerformanceCounterand using it.
Now I am forced to use unmanaged C (C ++?), And I am really unhappy with the simplicity of using the API and the provided samples. My main pain is the need to use lodctr to load the manifest, as said on MSDN . I could not find a solution for this. Is there a way to use performance counters without explicitly loading the manifest, how can I do in C #?
source
share