Is it possible to use COM Object from DLL without register in C++ not managed code?
Say, the COM DLL needs to be registered, but the application doesn't have admin access rights. Here is an easy hack to register the DLL under HKEY_CURRENT_USER, which doesn't require admin rights:
LoadLibrary to load the COM DLL.GetGetProcAddress to get the address of DllRegisterServer.HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER and HKEY_CLASSES_ROOT to HKEY_CURRENT_USER\Software\Classes.DllRegisterServer obtained in step 2.HKEY_CURRENT_USER.