ATLPerf Questions

Nov 8, 2007 at 12:23 PM
Edited Nov 8, 2007 at 12:43 PM
Hi
I have some problems to work with the ATLPerf under Vista. I have used the PerformanceScribble example from MS http://msdn2.microsoft.com/en-us/library/z1xc8ye3(VS.80).aspx

First problem the Exe can only connect to the Permon.dll with admin rights, because in the atlperf.ini at line 209 there is used the function MapSharedMem. This function returns with Access denied.
This function use the CreateFileMapping in session 1. Described in this article
http://msdn2.microsoft.com/en-us/library/aa382954.aspx this does not work.


Second Problem, there must be a registration Problem of PerfMon.dll, because the "ScribbleMouse" entry does not exist in the performance monitor with vista.
After debugging the registration process, i have found in atlperf.inl line 1450, that the value for wPrimaryLanguage is 7. but in my registry there is only a path for 009 ?!?

is there a workaround?

thx Gerhard