Windows > Software Development for Windows Client Forums > Windows SDK > how do we register the dll files in windows vista ?
Ask a questionAsk a question
 

Answerhow do we register the dll files in windows vista ?

Answers

  • Monday, July 02, 2007 3:34 AMMartin Xie - MSFTMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Ralph,

    Welcom to this forum!

     

    It also use regsvr32 to register DLL files on Vista, like XP.

     

    Read this thread for reference.

     

    Here is a suggestion. Please have a try.


      First copy the following text into notepad and save as .reg file.

    Right-click the .reg file and select merge to add these keys to the registry.

    You should then have Register and Unregister on your context menu whenever you right-click a dll file.

    Windows Registry Editor Version 5.00
      [HKEY_CLASSES_ROOT\dllfile\Shell]
      [HKEY_CLASSES_ROOT\dllfile\Shell\Register]
      [HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]
      @="regsvr32.exe \\\"%1\\\""
      [HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister]
      [HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command]
      @="regsvr32.exe /u \\\"%1\\\""

     

All Replies

  • Monday, July 02, 2007 3:34 AMMartin Xie - MSFTMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Ralph,

    Welcom to this forum!

     

    It also use regsvr32 to register DLL files on Vista, like XP.

     

    Read this thread for reference.

     

    Here is a suggestion. Please have a try.


      First copy the following text into notepad and save as .reg file.

    Right-click the .reg file and select merge to add these keys to the registry.

    You should then have Register and Unregister on your context menu whenever you right-click a dll file.

    Windows Registry Editor Version 5.00
      [HKEY_CLASSES_ROOT\dllfile\Shell]
      [HKEY_CLASSES_ROOT\dllfile\Shell\Register]
      [HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]
      @="regsvr32.exe \\\"%1\\\""
      [HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister]
      [HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command]
      @="regsvr32.exe /u \\\"%1\\\""

     

  • Saturday, December 01, 2007 1:13 AMavery construction Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Following the above directions, I was able to draw the right click options, great! right clicking to register and un/register is very nice. I'm trying to register yacscom.dll in vista so i can talk on mic in chat on yahoo, to no avail. I'm still recieving generic code "0x80070005. I installed yahoo 9.0 beta, lets just assume I installed 8.0, so what else can I try ?

             Thank you, Dave