title: How to load a DLL as a local server
body: <p>I really need help...</p>
  
  <p>I have implemented a COM component (i.e A.dll) with IDL, also coded a wrapper DLL (B.dll) for that component. I have implemented required export functions for DLL "A" and registered it with "regsvr32.exe".</p>
  
  <p>Problem is that I have 3 EXE files that uses B.dll to access methods of A.dll. But, I could not manage to create a local server for A.dll, therefore every EXE loads a new A.dll and B.dll. I want to load A.dll only once, and need to realize this functionality in B.dll. Last statement is open for discussion also.</p>
  
  <p>However, I could not manage to find any useful example or resource regarding this problem. Any help will be appreciated, thanks in advance.</p>