James, thanks for your answer. What if the assembly is on the GAC? I'm
dealing with versioning issues, that's why I need to know where to locate the
.DLL. I need to be able to run two versions side by side, that means 2
assemblies on the GAC, and 2 .DLL, each set with different version levels.
Thanks
> You can always put the dll in the same folder as your
> executable or referencing assembly. I have seen articles
[quoted text clipped - 8 lines]
> >Thanks in advance
> >.
James - 20 Oct 2004 21:27 GMT
To make sure I understand: You'll have 2 .NET assemblies
and two legacy Dlls. You want each .NET assembly to
reference a specific version of the legacy Dll.
If this is the case then the trouble is with the way
Windows loads Dlls - there are no provisions for choosing
which version you want your .NET assemblies to load. My
*guess* is that you may have to avoid using the DllImport
attribute and load them manually. The Win32 API *might*
give you the flexibility to do this, but this is way out
of my league.
>-----Original Message-----
>James, thanks for your answer. What if the assembly is on the GAC? I'm
[quoted text clipped - 18 lines]
>>
>.