I have a .NET assembly that needs to be used by VB6. Using regasm /tlb
registers it. However, when running the code, the .NET dll cannot be found.
If I put it in the GAC - then of course it finds it. However, I want to know
why it doesn't.
Using filemon, it seems that the runtime is trying to find the assembly in
the system32 folder - not the folder where it was registered from. This
seems to be the problem - and of course putting it in the GAC, places it in
a known location where it can be found. How can this default behavior of
looking in system32 be changed so the GAC can be avoided?