Avoiding DLL hell with unmanaged applications
- From: russell.thamm@xxxxxxxxxxxxxxxxxxx
- Date: Mon, 15 Oct 2007 21:56:44 -0700
Can I leverage assemblies to avoid DLL hell with unmanaged code?
I have an unmanaged application that I have ported from MSVC6 to
Visual Studio 2005. This application is a distributed application
which consists of many components. These components use several third
party DLLs. Furthermore, these components link to several inhouse
static libraries that I would like to convert to DLLs.
I would like to be able to install updated DLLs without breaking
existing applications.
I have managed to create a multifile assembly containing one of my
DLLs and have "installed" it using GACUTIL.
I have no idea how to link my application against my dll in the
assembly. The /reference and /linkresource options that I have seen
mentioned in this regard don't seem applicable.
This is how I created my assembly:
al /link:managerDLLd.dll /platform:x86 /out:managerd.dll /version:1.0.0.0 /keyfile:keypair.snk
CAGUTIL /i managerd.dll
Cheers
.
- Prev by Date: Re: "const" not used in VC .NET
- Next by Date: Re: passing std::string from visual studio 2005 to an C++ DLL generated by VC 6.0
- Previous by thread: 'HANDLE *' Error
- Next by thread: throw list in VS 2005
- Index(es):
Relevant Pages
|
Loading