side-by-side

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

假如想象 提交于 2019-11-27 07:20:51
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 component? Or, is there another way to use an unregistered C# library in Access? (Before you ask, my

Why installing vcredist_x86.exe doesn't fix SideBySide error when I develop an EXE on one machine and run it on another one?

时间秒杀一切 提交于 2019-11-27 05:08:07
问题 Issue I wrote a C++ project called 'Foo' using Microsoft Visual Studio 2005 Verison 8.0.50727.762 (SP.050727-7600) on Windows XP Professional Version 2002 Service Pack 3. I built the project into Foo.exe. Then, I copied the file Foo.exe to a Windows Server 2003 Enterprise Edition Service Pack 2. When I tried to run it, it failed with this error, C:\foo.exe The application has failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem.