dll-hell

Application has failed to start ... application configuration is incorrect - VC++ 2005 Runtime Problem

Hello, We moved our Visual C++ 2003 solution to Visual 2005 and now we have problems deploying to clean XP machines. Our solution has a DLL project and a command line executable which uses this DLL. Both projects create and embed manifest files. Our installer also copies the VC8 CRT runtimes from the C:\Programme\Microsoft Visual Stud...

Generate manifest files for registration-free COM

I have some applications (some native, some .NET) which use manifest files so that they can be deployed in complete isolation, without requiring any global COM registration. For example, the dependency on the dbgrid32.ocx com server is declared as follows in the myapp.exe.manifest file which sits in the same folder as myapp.exe: <?xml v...

Where can I find MSCVR80.DLL v8.0.50727.3053 ??

I've got a bug from one of our customers and believe that the problem lies with MSVCR80.DLL v8.0.50727.3053 - a version which I cannot find for download anywhere, however a google search turns up plenty of other crash reports. Latest version on my system (and others here) is 8.0.50727.1433 and the Microsoft Visual C++ 2005 SP1 Redistrib...

Is it possible to add a directory to DLL search path from a batch file or cmd script?

MSDN says that the function SetDllDirectory() can be used to insert a directory into the DLL Search Path. Can this function be accessed from a batch file or cmd script, perhaps using via cscript? The aim is to have our development version of a dll found before a pre-existing older one in %WINDIR% etc. without having to write a program j...

ActiveX dependencies in Access

I'm using the Crystal Reports Viewer 11 ActiveX control in an Access form (version 2007, 2003 format). Everything works well on my development machine, where I have CRXI installed. I copied the referenced DLL to the client's machine, but when I try to register it, it says "Can't find module" (I double- and triple-checked my spelling) a...

Automatically detecting incompatible DLL references

Is there a tool that takes a solution or a set of DLLs, and automatically detects incompatible references (two DLLs that reference that same DLL but with different versions, thus resulting in hard-to-detect runtime errors). Currently we're debugging such problems using Reflector, I'm looking for a magical automatic tool. ...

Force .NET interop to use local COM DLL

Is it possible to force an interop assembly to reference a local copy of its associated COM DLL? Here's the scenario: I have a .NET app that references an interop assembly (Interop.OTAClient.dll), which is the interop for a COM DLL (OTAClient.dll, which is the automation API for HP Quality Center). I'm not very knowledgable on COM, but...

Embed IE6 with MFC

Hi guys, I'm looking to use the "Microsoft Web Browser" ActiveX control in an MFC app, but we need it to be IE6 in order to support legacy stuff and all that not-so-fun stuff. The systems that it will be deployed upon, however, may have IE7 or IE8 installed. I'm not much of a COM/ActiveX guy, although I know my way around C++ and MFC. ...

Using libxml2 in Visual Studio 2008 and Windows XP

I have a weird problem when running an application that uses GNOME's libxml2 under Visual Studio 2008 (VS2008-SP1) and Windows XP. I have two C++ projects: Project A (a library) Project B (an application that depends on Project A) Both under one VS solution. Project A is statically compiled with libxml2.lib. I've added dependencie...

How to avoid .dll dependencies under .NET

Hello: I am writing a C++/CLI which have access/"dependencies" to many DLL COM and DLL .NET libraries. Is this possible to link/join all these libraries into my C++/CLI program and generate only one executable object in such a way that I never again have to consider these dependencies every time I have to move my object to another comp...

I keep hearing about DLL hell - what is this?

Simple question but I keep hearing about DLL hell - what is this all about? Thanks, MarcoPolo ...

Compiling Qt using MSVC 2005 and dealing with SxS Windows

A group I am working with is tasked with developing a new project using Qt. However, we need to be able to link with C++ libraries from the MSVC 2005 world. We will also need to integrate eventually with the MSVC-based build system, so it seems important to build Qt using MSVC. I've recompiled Qt using MSVC 2005, and that works. (if ...

vcredist_x86.dll and version 8.0.50727.4053

Hello, Visual C++ 2005 I build on my system use CRT DLLs version 8.0.50727.4053. I believe it is the latest one and was automatically updated by Windows. On user systems, this version of the DLL is not found. I have used vcredist_x86.exe in the past as a part of our installer to install runtime DLLs. It used to work. My problem is tha...

Windows 7 OpenLDAP Curl DLL Dependency Hell

Hi, I really hope someone can be of help to me because this problem has me totally stuck and frustrated. Yesterday I installed a fresh and shiney new Windows 7 x64 onto a development box. I got VS2008 installed, Tortoise SVN, did a checkout, compiled my currently project, all fine and dandy. But when I go to run (either F5 in VS or ...

Can't load DLL due to dependency issue with Visual C Runtime DLL

I'm trying load a 3rd party DLL but I get an error when attempting to load it. Opening it in Dependency Walker shows that the DLL simply relies on kernel32.dll and msvcr90.dll. However, I get the following error in Dependency Walker when opening this DLL: Error The Side-by-Side configuration information for [full path to the dll that I...

.NET and DLL's in several projects

My current issue is I have a DLL which has a class I use as an abstraction for my Database Mappers. I use this DLL in all my projects (including other class libraries/dlls) that access the database. My issue is that every time I update my Data Mapper dll I have to updating it in all the other dll's I am using in my main project as well (...

Inconsistent operator new/delete calling

I'm having some trouble with a dynamically linked library calling my overloaded operator delete but not my operator new. My exe looks something like this: class A { public: void func() { t = dynLib::Type::CreateObject(); } dynLib::Type t; }; void main() { A a; a.func(); } And then I have a statically linke...

Getting VB6 to reveal which component doesn't have a design time license installed

I've inherited a VB6 project that I'm trying to "Make". The build fails on the "Making EXE" step with a licensing error: License information for this component not found. You do not have an appropriate license to use this functionality in the design environment. How can I figure out which component is missing the license? The proj...

Need insight into how manifest is being generated for C++ program

When I run an executable that I built, I get the following error: The system cannot execute the specified program My immediate thought was that it was a dependency problem with one of the VC8.0 re-distributable DLLs (msvcr80d.dll et al.). We have had a few problems with patched versions of these DLLs affecting our programs. When I...

How to auto switch the rererence between different Oracle versions

I'm using a C# project that is linked to the OracleDataAccess.dll - V9 or V10, but only one of them at a time. My development machine has both installations. On the deployment machines only one of them is available. For this reason, I have to switch the reference betwenn V9 and V10 in my project dependent on the deployment machine. Is ...