Search code examples
c#c++comregistrycom-interop

Is it possible to use the COM DLL without register in Registry using RegAsm.exe?


I need to use the C# dll from C++ code. Is there any way to use the dll without register it into registry. Because register in registry needs administrative privilege. If any suggestion please let me know


Solution

  • I solved this Problem by Register the COM dll in HKEY_CURRENT_USERS hive by this code https://stackoverflow.com/a/35789844/19616470