How to create and register two dlls with same name?(VS 2010)
-
I have a problem where i have two dlls with same name. does changing CLSIDs of any one of it is advisable ? or any other alternate??
jigar
-
Obviously they would need different CLSIDs as there would be no way of distinguishing between them otherwise. The question remains: why?
Veni, vidi, abiit domum
I have a situation where there are two applications A & B,using C.dll ,problem is that for A, development is frozen,while for B there is a huge overhaul expected in C.dll which will then break A,So either i need to create a new dll for B and rewrite same code of C.dll and do modification ,or i can just copy C.dll project and change its ProgGUID,CLSIDs and do modifications. indeed not a neat solution
jigar
-
I have a situation where there are two applications A & B,using C.dll ,problem is that for A, development is frozen,while for B there is a huge overhaul expected in C.dll which will then break A,So either i need to create a new dll for B and rewrite same code of C.dll and do modification ,or i can just copy C.dll project and change its ProgGUID,CLSIDs and do modifications. indeed not a neat solution
jigar
The obvious answer is to create a copy of C.DLL source, probably by starting a new branch in your source control system. You can give it a different name and CLSID and use that for the development, while leaving the operational version intact. This is fairly standard procedure for any project.
Veni, vidi, abiit domum
-
I have a problem where i have two dlls with same name. does changing CLSIDs of any one of it is advisable ? or any other alternate??
jigar
Having two dlls with the same name is not advisable in Windows.
-
I have a problem where i have two dlls with same name. does changing CLSIDs of any one of it is advisable ? or any other alternate??
jigar
[Dynamic-Link Library Redirection] "To use DLL redirection, create a redirection file for your application. The redirection file must be named as follows: App_name.local. For example, if the application name is Editor.exe, the redirection file should be named Editor.exe.local. You must install the .local file in the application directory. You must also install the DLLs in the application directory."
With best wishes, Vita