I am wondering when function DllRegisterServer will be invoked? I am using Visual Studio 2005 to develop an in-process native (unmanaged) C++ COM. I am wondering when it will be invoked?
1. During the build process or during the DLL initialization process?
2. I find this function only works for debug mode, not release mode. Is that correct?
there are not too much information about when this method will be invoked and whether it works for both debug mode code and release mode code.
thanks in advance,
RegSvr32 calls DllRegisterServer and makes the appropriate registry entries. It should work for both debug and release mode.