PdhCollectQueryData won't collect data on WXP after SP2
From: Randy Scarborough (void_at_ibm.net)
Date: 02/16/05
- Next message: William DePalo [MVP VC++]: "Re: Queryserviceconfig weird error code"
- Previous message: Gary Chanson: "Re: Problem with starting muliple instances"
- Next in thread: Pavel Lebedinsky: "Re: PdhCollectQueryData won't collect data on WXP after SP2"
- Reply: Pavel Lebedinsky: "Re: PdhCollectQueryData won't collect data on WXP after SP2"
- Reply: Randy Scarborough: "Re: PdhCollectQueryData won't collect data on WXP after SP2 - Solved"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Feb 2005 14:56:09 -0800
I am running Windows XP Home and have a server application that is started
by Scheduled Tasks when the system starts up (not when a user logs on).
This app uses PdhCollectQueryData to monitor the RAS networks througput.
On XP with SP1 this ran fine, collecting data and logging it. On XP with
SP2 the data collected always has the value zero.
If I log on to the userid that created the Scheduled Task that starts the
application, and then run the server app, the data is collected normally.
But it is not collected when the app is started by Scheduled Tasks at system
logon.
Any idea what has changed, or how I can get this data?
Thanks.
Randy Scarborough
- Next message: William DePalo [MVP VC++]: "Re: Queryserviceconfig weird error code"
- Previous message: Gary Chanson: "Re: Problem with starting muliple instances"
- Next in thread: Pavel Lebedinsky: "Re: PdhCollectQueryData won't collect data on WXP after SP2"
- Reply: Pavel Lebedinsky: "Re: PdhCollectQueryData won't collect data on WXP after SP2"
- Reply: Randy Scarborough: "Re: PdhCollectQueryData won't collect data on WXP after SP2 - Solved"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|