Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

PERF plugin - performance counters not working under Vista ?

Discuss anything to do with plugins

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
Nevertheless
Posts: 14
Joined: March 7th, 2006, 12:08 am

PERF plugin - performance counters not working under Vista ?

Post by Nevertheless »

Hi all,

after I successfully got LCD Smartie running under Vista RC1, I'm facing the problem that the PERF plugin always returns "bad counter".

Because I'm using the same config file for LCD Smartie as under WinXP (it's a dual-boot machine) and the names of the performance counters are exactly the same as the ones I'm using (tested with PERFMON under Vista), the error must have another reason...

Anyone who has an idea?

Thanks in advance!

fozi
Plugin Author
Posts: 16
Joined: November 1st, 2006, 2:09 am

Post by fozi »

The plugin has the same problem with Windows 2003 server SP1. I'm no developer but it has something to do with the request for the perf counter not be formed correctly. I have looked at the source and MSDN and I can't tell what has changed since XP SP2 and pre server SP1, but there was some change in PDL.DLL that has caused the perf plugin to break. Hopefully someone much smarter than me will fix it soon. :(

caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

Good news!

Had to install today a lcd on a win2k3 machine and of course got the perf plugin problem.

Searched the net for pdh.dll and found it for download somewhere (found version 5.1.2600.2180 probably from a win xp install), then copied it to system32 folder after backing up the original file and set the performance monitor service in services.msc to manual (as it would complain every startup that it generated errors).

Now perf plugin works in windows 2003 sp1 so why not in Vista too!

PS: i don't think that it is possible to attach the file here due to copyright problems but you'll surely find it somewhere.

Caesar

fozi
Plugin Author
Posts: 16
Joined: November 1st, 2006, 2:09 am

Post by fozi »

It's usually not a good idea to replace system level DLL's with old versions and highly unlikely that a system DLL from XP or Srv 2003 will function correctly in Vista or Longhorn.

See post http://forums.lcdsmartie.org/viewtopic.php?t=94. for a soon to be releaced permanent fix to this problem.

-fozi

alpha
Posts: 6
Joined: December 11th, 2006, 7:18 am

Post by alpha »

There is a new version of perf.dll out that supports Vista, check in the plugin-announcements forum. :)

Post Reply