Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Re: Registry problem

Reply
Thread Tools Display Modes

Re: Registry problem

 
 
chas2209
Guest
Posts: n/a

 
      09-01-2009

"Ed" <> wrote in message
news:e27$...
> Our software modifies HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
> NT\CurrentVersion\Perflib\009\Counter and help to add performance monitor
> counters. It has been working for years on XP. It does not work on Vista.
> To test, I tried to add a key to Perflib\009 but I got "Cannot to
> registry" dialog box. I tried to modify the permission and got "Invalid
> handle". I can add key to \Perflib but not \Perflib\009. I am logged in
> under administrator account.
>
> What's wrong and what's the solution?
>
> Thanks



Contact your software Author

chas2209



 
Reply With Quote
 
 
 
 
Ed
Guest
Posts: n/a

 
      09-01-2009
chas2209 wrote:
> "Ed" <> wrote in message
> news:e27$...
>> Our software modifies HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
>> NT\CurrentVersion\Perflib\009\Counter and help to add performance monitor
>> counters. It has been working for years on XP. It does not work on Vista.
>> To test, I tried to add a key to Perflib\009 but I got "Cannot to
>> registry" dialog box. I tried to modify the permission and got "Invalid
>> handle". I can add key to \Perflib but not \Perflib\009. I am logged in
>> under administrator account.
>>
>> What's wrong and what's the solution?
>>
>> Thanks

>
>
> Contact your software Author
>
> chas2209
>
>
>


Thanks but I am the software author and trying to debug it. The sforware
(a DLL) gets invalid handle when writing to the registry but can read it
fine. I try to add a test key under Perflib\009 using regedit but it
gave me "Cannot write to regsitry". Trying to change the permission of
Perflib\009 in regedit, gives Inavlid handle. I tried it with several
other keys (including \Perflib itself) and all worked fine. What can be
different with 009? All the permissions seem to be the same as any other.
 
Reply With Quote
 
chas2209
Guest
Posts: n/a

 
      09-01-2009

"Ed" <> wrote in message
news:%...
> chas2209 wrote:
>> "Ed" <> wrote in message
>> news:e27$...
>>> Our software modifies HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
>>> NT\CurrentVersion\Perflib\009\Counter and help to add performance
>>> monitor counters. It has been working for years on XP. It does not work
>>> on Vista. To test, I tried to add a key to Perflib\009 but I got "Cannot
>>> to registry" dialog box. I tried to modify the permission and got
>>> "Invalid handle". I can add key to \Perflib but not \Perflib\009. I am
>>> logged in under administrator account.
>>>
>>> What's wrong and what's the solution?
>>>
>>> Thanks

>>
>>
>> Contact your software Author
>>
>> chas2209
>>
>>
>>

>
> Thanks but I am the software author and trying to debug it. The sforware
> (a DLL) gets invalid handle when writing to the registry but can read it
> fine. I try to add a test key under Perflib\009 using regedit but it gave
> me "Cannot write to regsitry". Trying to change the permission of
> Perflib\009 in regedit, gives Inavlid handle. I tried it with several
> other keys (including \Perflib itself) and all worked fine. What can be
> different with 009? All the permissions seem to be the same as any other.


Hi
I think it will be difficult for you to get help in this group
I suggest you try -
http://windows7forums.com/windows-vista-programming/

Best of Luck

chas2209


 
Reply With Quote
 
Malke
Guest
Posts: n/a

 
      09-01-2009

Ed wrote:

> chas2209 wrote:
>> "Ed" <> wrote in message
>> news:e27$...
>>> Our software modifies HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
>>> NT\CurrentVersion\Perflib\009\Counter and help to add performance
>>> monitor counters. It has been working for years on XP. It does not work
>>> on Vista. To test, I tried to add a key to Perflib\009 but I got "Cannot
>>> to registry" dialog box. I tried to modify the permission and got
>>> "Invalid handle". I can add key to \Perflib but not \Perflib\009. I am
>>> logged in under administrator account.
>>>
>>> What's wrong and what's the solution?


>> Contact your software Author


> Thanks but I am the software author and trying to debug it. The sforware
> (a DLL) gets invalid handle when writing to the registry but can read it
> fine. I try to add a test key under Perflib\009 using regedit but it
> gave me "Cannot write to regsitry". Trying to change the permission of
> Perflib\009 in regedit, gives Inavlid handle. I tried it with several
> other keys (including \Perflib itself) and all worked fine. What can be
> different with 009? All the permissions seem to be the same as any other.


Probably the best place for you to ask this is in a developer's forum. Try
the MSDN forums:

http://social.msdn.microsoft.com/For...-US/categories

Malke
--
MS-MVP
Elephant Boy Computers - Don't Panic!
http://www.elephantboycomputers.com/#FAQ

 
Reply With Quote
 
Daniel Martín [MVP]
Guest
Posts: n/a

 
      09-01-2009
Take a look at this blog entry:

Registering ATL Performance Counters on Vista and Server 2008
http://blogs.msdn.com/patricka/archi...rver-2008.aspx

--
Regards/Saludos,
Daniel Martín
Microsoft MVP Windows User Experience

"Ed" <> wrote in message
news:#...
> chas2209 wrote:
>> "Ed" <> wrote in message
>> news:e27$...
>>> Our software modifies HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
>>> NT\CurrentVersion\Perflib\009\Counter and help to add performance
>>> monitor counters. It has been working for years on XP. It does not work
>>> on Vista. To test, I tried to add a key to Perflib\009 but I got "Cannot
>>> to registry" dialog box. I tried to modify the permission and got
>>> "Invalid handle". I can add key to \Perflib but not \Perflib\009. I am
>>> logged in under administrator account.
>>>
>>> What's wrong and what's the solution?
>>>
>>> Thanks

>>
>>
>> Contact your software Author
>>
>> chas2209
>>
>>
>>

>
> Thanks but I am the software author and trying to debug it. The sforware
> (a DLL) gets invalid handle when writing to the registry but can read it
> fine. I try to add a test key under Perflib\009 using regedit but it gave
> me "Cannot write to regsitry". Trying to change the permission of
> Perflib\009 in regedit, gives Inavlid handle. I tried it with several
> other keys (including \Perflib itself) and all worked fine. What can be
> different with 009? All the permissions seem to be the same as any other.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Registry Cleaners? Bill Walsh Windows Vista Performance 8 08-24-2009 12:59 AM
Error Message 80070005 installing WMP Godenjoyer Windows Media Player 7 08-08-2009 09:18 PM
server generates Delayed Write errors copying Very large Files Phil Lewis Windows Server 13 07-01-2008 02:44 PM
Very urgent Registry problem Rajeev Dhungel Windows Server 1 06-02-2007 08:32 AM
Registry help spock Windows 64 Bit 9 11-04-2005 01:17 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59