Thread: DllRegisterServer

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    DllRegisterServer

    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,

    http://msdn2.microsoft.com/en-us/library/ms682162.aspx

    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,
    George

  2. #2
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,058
    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