Thread: DllRegisterServer

  1. #1
    Registered User
    Join Date
    May 2006


    Hello everyone,

    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?

    In MSDN,

    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,

  2. #2
    Registered User
    Join Date
    Mar 2005
    Mountaintop, Pa
    RegSvr32 calls DllRegisterServer and makes the appropriate registry entries. It should work for both debug and release mode.

Popular pages Recent additions subscribe to a feed