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

.NET COM registration to be used by COM

$
0
0

Hi,

We have host of applications which are a mix of C++, VB6.0 and .NET assemblies. We wanted to go COM free and hence went ahead with side by side dll concept. It works fine with Vb6 and C++ but somehow I could not get the .NET dll that are being refered by VB6 or C++. I have different flavors:

VB6 EXE -> VB6 DLL -> .NET Dll

VB6 EXE -> VB6 DLL -> C++ dll -> .NET Dll

I have a manifest VB6AppName.exe.manifest which has dependent assembly for a manifest which has all COM information. May I know how should I add the .NET COM info? When I added entry for <clrClass name="DllName.Class" clsid="{MY_CLSID}" threadingModel="Both" progid="DllName.Class"/>

When I use FileMon, I see the process calls VB.dll and then looks for "{MY_CLSID}" in windows registry rather than the app folder. May I know how do I accomplish this?


Viewing all articles
Browse latest Browse all 1710

Trending Articles



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