side-by-side

Windows path searching in LoadLibrary with manifest

If you call LoadLibrary without a path (e.g., LoadLibrary("whatever.dll"), Windows will generally follow its standard search algorithm, the same one it uses to find EXEs. My question is this: suppose that an application manifest specifies specifies a particular version of a system DLL, say, comctl32.dll 6.0. In that case, will LoadLibra...

Using versioned .Net assemblies

In our processing software we are moving from one version of an external assembly to a newer version. While the overall task that the assembly performs are the same, the API is radically different and no backwards compatibility have been maintained. The API is responsible for extracting data from external stations which may be running wi...

Unable to load C++ DLL in C# application in Vista x64

I have a DLL written in C++ that needs to be used by an application in C#. It works great under Vista x86, but under x64 it fails to load. So I build an x64 version of the DLL and I detect whether the OS is x86 or x64 and use the appropriate interop call to the appropriate DLL. This works fine under Vista x86, but under Vista x64 I get a...

Why does windows side by side (winSxS) install policy for auto upgrade when there are known issues between versions?

We have an app compiled using MSVC 2K5, SP1 (version 762 msvcrt80) All is well, right up until somebody installs on the same machine .Net3.0SP1, and along with it msvcrt80 version 1433 is installed and a policy to automatically upgrade. Now we have random crashes all over the place and unhappy customers. I understand we can adjust our...

Cannot execute program if using boost (C++) libraries in debug-version on WinXP

I'm using boost for several C++ projects. I recently made a upgrade (1.33.1 to 1.36, soon to 1.37), since then I cannot run any debug-builds anymore. To be sure that no other project issues remain, I've created a minimum test-project, which only includes boost.thread, and uses it to start one method. The release build can be started, ...

How to build C++ app which runs on plain old XP SP2 with Visual Studio 2008 and no Side-by-Side DLLs?

I'd like to compile a C++ project with just a single call to WinExec in order to launch another executable with some command line parameters. I've no idea what settings to specify in my project in order to get produce an executable that works without requiring Microsoft side-by-side DLLs, which I don't want to have to install on my targe...

Registration-free COM not working on Windows Server 2003

I have created the necessary manifests for my COM server DLL and a client application to work registration-free in Windows XP. I've tested all kinds of combinations (with and without a registration) and in all cases the client application sees the side-by-side version of the library if the manifests are present, and the registered one i...

Side by side items with images using CSS

Hi, I am trying to display images side by side using just css. The problem is that the images are not displaying inline but as a list (I am using the tag to accomplish this). Maybe I am using the wrong type of tag or my css is just wrong (see below): ul { float: left; width: 15em; /* width is changed */ margin: 0; padding: 0; list-s...

Starting services that depend on side-by-side assemblies using Windows Installer

Hi, We are in the process of updating the construction of our product's .msi package for Windows Server 2008. The main component of our install is an application that is run as a Windows service. There is also a configuration application that gets run during install to set up registry entries for use by the service. The service and t...

Is there a way for registration free activation of COM componets.

IS there a way to activate a COM component which is EXE COM application and also it's dependent COM dlls? I want to activate this COM component from .NET application(VS 2005/VS 2008). the path of call is C# application --> invoking out-of-proc exe(this is through COM) and then this out-of-proc invokes few COM dlls ...

Howto: Multiple versions of msvcrt9 as private SxS assemblies?

I have a project that comprises pre-build Dll modules, built some time in the past, using Visual Studio 9. The EXE of the project is built now, using SP1 of Visual Studio 9. When we deploy the EXE we don't want to require administrative access, so the C-Runtime has been bundled into the root of the application. The Dlls: MSVCRT90.DLL a...

How can I target a specific version of the C++ runtime?

We have a very large project mostly written in C# that has some small, but important, components written in C++. We target the RTM of .NET 2.0 as the minimum required version. So far, in order to meet this requirement we've made sure to have only the RTM of .NET 2.0 on our build box so that the C++ pieces link against that version. Upda...

ruby openssl.so: 14001 error

When trying to run a simple ruby program I wrote, I am getting this error. Just reinstalled everything the other day, before the code was working fine. ruby/1.8/i386-mswin32/openssl.so: 14001: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. ...

Debug Build App locating Release CRT Assemblies

We have a c++ application which I recently ported from Linux/gcc to build on Windows with Visual Studio 2005. The app uses a 3rd party library which only provides DLLs which use the optimised CRT DLL (i.e. they don't provide equivalents which link to the debug CRT DLL). With VS2005 this didn't seem to be a problem = the debug build found...

What are Side-by-side Assemblies?

I came across Side-by-side Assemblies for the first time today while trying to install a Debug install set to a test machine. I managed it in the end, but was left with several questions: Whare are Side-by-side assemblies? How does Windows deal with these assemblies differently from other assemblies How do applications depending on Sid...

Side-by-side assemblies, Windows 7, and Visual Studio 2005

I have a Windows 7 machine with Visual Studio 2005 SP1 installed. Using this, I build an application which loads a DLL at runtime compiled with VS2005 SP1 but on Windows XP. This fails, with the following error: "...\foo.dll": The application has failed to start because its side-by-side configuration is incorrect. Please see the appl...

Side-by-side configuration error (Microsoft.VC80.CRT v8.0.50608.0)

I have an assembly with the following manifest embedded: <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> ...

Can I install Sql Server 2008 on the same machine where Sql Server 2005 already installed.

I have Sql Server 2005 Express installed on my computer, and I want to install Sql Server 2008 Express as well. What should I consider before doing this additional installation? thanks. bk ...

Registration-Free Activation of COM Components

Does this example for Registration Free Activation still work in VS2008 and Windows Vista/7? http://msdn.microsoft.com/en-us/library/ms973913.aspx I haven't been able to get it to work. But I was able to use the Isolated COM setting to make an embedded manifest load an OCX file as I wanted. Registering with regsvr32 worked also, so so...

Specify Isolated COM settings in dependent DLLs or just executable?

I'm setting the Isolated COM project settings in a C++ VS2005 project to load an ocx component using the Registration-Free Activation method. If the ocx component is also used in a DLL library my application loads, do I need to set the Isolated COM settings in that DLL project's settings as well? Or would setting only the main applicat...