Hi,
I'm using following bridge architecture to connect
native 32-bit applications with .NET
32-bit => COMServer.exe => .NET.dll => .NET Destination apps
The 32-bit client acts as COM client which calls the (ATL-build)
COMServer. This acts as host for the .NET.dll assembly, which exposes
an COM interface and includes proper co-classes. The only function
of this bridge is to redirect method calls from
32-bit to .NET (thats not all, 16-bit applications are also envolved,
but this makes no difference for my question below).
Everything works well, but I don't know how to run different versions
of this construction on one machine (versions like live and test-systems),
particulary how to configure the bridge to load different versions of
the destination assemblies. I can specify a path and make
use of Assembly-Load(), but i would prefer a config file. App.exe.config
shouldn't work because the DLL's are hosted by native COMServer.
Thanks for help, links etc. in advance
Peter
Peter Hase - 11 Apr 2006 17:35 GMT
> ... I don't know how to run different versions
> of this construction on one machine (versions like live and test-systems),
> particulary how to configure the bridge to load different versions of
> the destination assemblies [...]
I found the article below with a similar topic:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/cs
harp03122002.asp