side-by-side

Any drawbacks in using LoadLibraryEx() instead of CoCreateInstance() for reg-free COM component consumption?

Our program needs to consume the COM server which is also made by us. The scenario is the following: the installer will copy both the program files and the COM server files into the same folder on each install. Currently we use regsvr32 to register the COM server, but this is not very good - if we develop another unrelated program that ...

FSharp.Compiler.CodeDom for VS2008 and VS2010 side-by-side

I'm using FSharp.Compiler.CodeDom (from the PowerPack) to dynamically create F# classes. The problem is, that I have both VS2008 and VS2010 on my computer side-by-side (they works fine), and using F# in this configuration is buggy at best: If I don't install InstallFSharp.msi, then under VS2008 the built classes complain about not find...

Why does my Application not run using the x64 Version of Windows Server 2008?

I have a Win32 C++ Application using a handful of third-Party DLLs that is installed at some hundred costumer machines. I recently tested the x86 Version of the installation successfully on Windows XP, Windows Vista x64, Windows 7 x86 as well as Windows Server 2008 x86. No Problems. The Installer (nullsoft) installs the redistributable f...

How to change the assemblyIdentity of an executable?

I want to hide the tool I used to create an .exe file. I am not doing anything illegal, I just want to protect my intellectual property from being copied. If I open the exe file in a text editor I see the following section. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifes...

CSS: How to get two DIVs side by side with automatic height, to the height of their container?

I am designing a website for a client, and I am trying to get two side-by-side DIVs to adjust to 100% of their container. I've got the side-by-side done, but I can't get the right DIV to be the same height as the left one. You can view the problem here: http://campusmomlaundry.petroules.com/ The "challenges" and "benefits" DIVs should ...

What happens if a .NET 1.1 and .NET 2.0 COM object are used in the same process?

If a process loads both a .NET 1.1 COM object and a .NET 2.0 COM object, both using an in-process server, what happens? Does anything break with this configuration? Or would it be safer to make one of the objects an out-of-process server? ...

.NET 3.5 runtime and .NET 4 runtime compatibility

Is it possible to run an application built on .NET 3.5 with a plug-in built with .NET 4? Cheers, Christian ...

Use Manifest Tool (mt.exe) to Change "Version" of "Unmanaged Assembly"

Now that native code can have assemblies (e.g. "unmanaged assembly") for side-by-side cache usage, I'm interested in changing the version of a DLL after it is built (as part of an incremental build auto-versioning scheme). I think I'm close using this commmand: mt -updateresource:MyNewlyBuiltThing.dll;#2 -identity:"MyNewlyBuiltThing, v...

.NET 4 side-by-side execution, what is loaded in which case?

I've been doing a bit of investigative work into .NET 4 side-by-side execution recently and, while I have found out a fair amount, there are still some open questions in my mind. My queries are really around in-process loading of libraries into client applications. If I have a client application that uses v4.0 of the CLR then my underst...

Visual Studio Version Selector Doesn't open

Hi, I have Visual Studio 2008 and 2010 installed side by side, but trying to open either a 2008 or 2010 sln file results in nothing. The hour glass comes on for about a second and then it goes away and nothing is opened. I read somewhere to relate sln file to VS directly, but I can't go that route because I don't want 2008 solutions to ...

Loading a 32-bit or 64-bit side-by-side COM DLL depending on the bitness with which the application runs

Hi, I have a .NET application that uses a COM DLL, of which there is both a 32bit and a 64bit version. I have written two application manifests that make side-by-side COM interop work on either 32 Bit or 64 Bit. Here the 32-bit version: <?xml version="1.0" encoding="utf-8"?> <assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-c...

Error - The application has failed to start because its side-by-side configuration is incorrect.

Hi, My exe built on Visual studio 2008 runs on my development system but on other systems it gives the error "The application has failed to start because its side-by-side configuration is incorrect. please..." The exe is in release mode and I have installed the VC redistributable. Using dumpbin /dependents command I see that it along ...

msvcp90d.dll is missing msvcr90d.dll

I had a DLL project on one machine, and copied it to another with freshly installed VS2008. The project builds, but I cannot debug it. Dependecy Walker shows that my DLL sees msvcr90d.dll, but msvcp90d.dll does not see the same DLL. But if I open msvcp90d.dll in separate window then msvcr90d.dll is visible to msvcp90d.dll. This is obviou...

How to cope with "the application has failed to start because its side-by-side configuration is incorrect" error in vmware?

Hi all, When I try to open released .exe file (which I wrote in Visual Studio 2008) in VMWare Workstation 6.5 with Windows Server 2008 32bit OS, got "The application has failed to start because its side-by-side configuration is incorrect." error all time even if the code is; #include <stdio.h> int main () { printf ("HELLO\n"); r...

What are limitations of side-by-side COM?

We need to adapt our application to be usable through ClickOnce. The application consists of a .exe file, and a huge set of Visual C++ libraries, some of them are in-proc COM servers used by other libraries. Currently our installer does regsvr32 to register the COM servers, but looks like ClickOnce applications are not allowed to modify...

What is a Windows command-line EXE's "side-by-side configuration" and how do I correct it?

I have a simple .exe written in C++ (built with Visual Studio 2005) that tests some hardware using a supplied API. It works fine on the Windows 7 machine I built it on, but when I copy it to another (Windows 7) machine and run it (from the command-line) I get: The application has failed to start because its side-by-side configurat...

java2com (nevaobject) and registration free com

Hello, is it possible at all to use registration-free COM with java2com? Thank you. ...

why i don't have Microsoft.VC80.MFC-file?

Got a fresh Win7 machine with VS2005 installed. I tried to start a MyApp.exe that is built with manifest that says in Manifest.bin: ... <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50727.4053" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"> </assemblyIdentity> ... and the result was error mess...