Search code examples
c#.netdllvb6typelib

.Net DLL referencing another DLL


I have one .Net 4.0 dll project that references third party PDF converter DLL. I have exposed this dll for COM. Now when I am trying to add my .tlb file to VB6 project it comes up with runtime error. Error says the dll which is third party pdf converter cannot be found.

Is there any way I can avoid this?

Many Thanks Ni


Solution

  • Ok at last it worked. All I did: open up .tlb file in Visual studio and added third party pdf dll using custom library. It started working.. Thanks everyone for help