side-by-side

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

眉间皱痕 提交于 2019-12-23 10:28:30
问题 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 message "The application has failed to start because it's side-by-side configuration is incorrect... Event viewer told me the reason in detail: Activation context

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

我怕爱的太早我们不能终老 提交于 2019-12-23 02:37:32
问题 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 manifest files to force the usage of a specific version, but I've only found the really ugly way of copying detail that is auto generated and modifying it by

Simulating SideBySide for Out of Process ActiveX

风流意气都作罢 提交于 2019-12-21 20:42:23
问题 We are adapting our client side relatively complicated application (ActiveX / .net / Delphi / C++ / COM ) to use SxS to achieve non admin deployment and isolation from older versions of our product. We were able to achieve this goal for almost all our in proc components such as our .net ui, Delphi ui, and the COM servers we use in proc by composing a manifest file which described all the libraries used by our process, with no registration on the client of any of the components (almost). And

Where do I need to switch the Activation Context?

假装没事ソ 提交于 2019-12-21 19:51:14
问题 The problem I'm facing is essentially described here, that is: I have a DLL that is using a 3rd party in-process COM component dll. I want to use registration free COM with that in-process component. I want to embed and use a manfest into this DLL (not into the main EXE) so that I can use the 3rd party component in a reg free way. The Interface I use from the component is activated through a call to CoCreateInstance . The 3rd party COM component hasn't got any further (COM) dependencies and

How to have the sed output side by side?

不羁岁月 提交于 2019-12-20 03:23:35
问题 I want to have standard output for KEGG pathways of a gene placed side by side no matter how many lines of the KEGG pathways it has. For example, a gene TT123456 is involves in several pathways: Valine, leucine and isoleucine degradation Histidine metabolism Ascorbate and aldarate metabolism Lysine degradation Glycerolipid metabolism By using the sed command sed '$!N;s/\n/\t/' I able to have two lines joined side by side Valine, leucine and isoleucine degradation Histidine metabolism

.Net 'Any Framework' configuration

扶醉桌前 提交于 2019-12-20 01:36:18
问题 I built a program in C# .NET 2.0 that works great also under framework 3.0 and 3.5. But if .NET Framework 4.0 is the only framework installed, it does not working, it requires the user to install 2.0. i found the following configuration in google: <startup> <requiredRuntime safemode="true" imageVersion="v4.0.30319" version="v4.0.30319"/> </startup> After adding this to the app.config, my program works on .NET Framework 4.0 without any problems! What i searching for is a .NET 'Any Framework'

Which tags are required in the manifest for registration free COM?

你离开我真会死。 提交于 2019-12-17 23:28:06
问题 TL;DR Do all registry entries produced by regsvr32 need to be present in a SxS reg-free-COM manifest and vice versa? I'm trying to get registration free COM going for a third party component. Reading up on the subject, I find that there are several elements mentioned, that can be put into a manifest: From the docs, we can add the following tags to a manifest to describe a COM component: assemblyIdentity - which really just describes the "abstract assembly" as far as I can tell comClass -

Side-By-Side COM Interop with C# and VBA

醉酒当歌 提交于 2019-12-17 09:15:30
问题 I'm not talking about calling a VBA COM from C#... the other way around! What I would like to do is call a C# library using VBA in MS Access without registering the DLL. I've been playing around with side-by-side interop for a while without success and it has finally occurred to me that a mdb.manifest is probably not an acceptable replacement for an exe.manifest (probably obvious, I know, but I was trying to be optimistic). My question: Is it possible to get VBA to load a side-by-side COM

msvcp90d.dll is missing msvcr90d.dll

人走茶凉 提交于 2019-12-13 06:41:57
问题 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 obviously some SxS issue, but I don't know how to resolve it. I tried several proposed fixes found googling: disable incremental linking, remove and then include

LoadLibrary fails with ERROR_SXS_CANT_GEN_ACTCTX (the dll depends on VS2005 CRT 8.0.50727.4053)

与世无争的帅哥 提交于 2019-12-12 06:36:56
问题 I have a third-party DLL that is built with Visual Studio 2005, which I use in a project that is built with Visual Studio 2008. This DLL depends on VS2005 CRT, version 8.0.50727.4053. On Windows 7 it works, but on Vista and XP LoadLibrary fails with a side by side error. The is from the Event Viewer: Activation context generation failed for "C:\MyLibrary.dll". Dependent Assembly Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727