Hello,
I have a vb6 app that needs to access a bunch of business-layer .NET
libraries. Initially, I wanted to Interop with the .NET libraries, but
the downside is that all the .NET libraries (and their dependencies)
must be strong named and in the GAC, which is a lot of work to be done
on a set of software that is very important to the business and is
stable. So this was a non-starter.
Then I thought, that I'll create just one strong-named and GACed .NET
library which can load the other .NET libraries via Assembly.LoadFile.
This way vb6 app can access the GACed .NET assembly and have it work as
a wrapper to the business layer. However, that involves a ton of
..Invoke and it just looks ugly. If an error happens in the
business-layer .NET libraries, the exceptions are un-intelligeble and
not very usable.
So, is there an alternative to the 2 methods I described above.
Something that doesn't involve the GAC.
Regards