Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

ATL/CLI dll loading issue

$
0
0

I have a COM/ATL DLL (Built in VS2012) that is built with /cli, and references a .NET assemly to do much of its internal work. The problem I am having is registering the DLL - it won't register unless the .NET assembly is either in the GAC or in the same directory as Regsvr32.exe (Windows\System). I would assume that the assembly will always need to be in the same directory as the calling process.

It would be preferable for it to load from the same same directory as the COM dll. Can I make that happen, and if so, how?

Creating both projects in VS2012.

Cheers,

Mick


Viewing all articles
Browse latest Browse all 1710

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>