title: How to check whether the tlb file is registered in registry using C++?
body: <p>I have created a class library using c#.And i have registered the class library using </p>
  
  <p>regasm..</p>
  
  <pre><code>  RegAsm.exe Discovery.dll /tlb: Discovery.dll /codebase
  </code></pre>
  
  <p>Now i want to know whether the assembly is registered or not using c++. I need because I have to check the registry for this dll if it is not registered I have to registered it 
  programatically if it is registered then i simply skip it.</p>
  
  <p>so How can i know whether the assembly registered or not using c++... </p>