Registry key
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Registry key

  1. #1
    Join Date
    Mar 2011
    Posts
    0

    Question Registry key

    My application is using Pdh.dll it is openeing a reg key HKLM\SYSTEM\ControlSet001\Services\FileReplicaSet\Performance a lot of time which is causing handle leak.

    is there a way i can forcefully close this key using c++.

    thanks
    anuj

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    5,976

    Re: Registry key

    Doing something forcefully and circumventing some official API is not recommended and should be avoided as much as possible. You need to find the real reason and fix it.
    Best regards,
    Igor

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center