DllRegisterServer

This is a discussion on DllRegisterServer within the Windows Programming forums, part of the Platform Specific Boards category; Hello everyone, I am wondering when function DllRegisterServer will be invoked? I am using Visual Studio 2005 to develop an ...

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21