Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Linking to a .net DLL ?
Re: Linking to a .net DLL ? [message #61702 is a reply to message #61562] |
Thu, 05 June 2025 19:43  |
JeyCi
Messages: 69 Registered: July 2020
|
Member |
|
|
msdn example of COM-Client and NET-Server, that is NET-dll in COM-container, created in VS as NET Class Library...
registered with regasm "c:\LoanLib.dll" /tlb:LoanLib.tbl /codebase f:_code\ClassLibraryForCom (better previously sign it with Strong Name Key) - still gives C1308-error: linking assemblies is not supported - A .netmodule [1][2] is allowed as input to the linker, but an assembly is not. ... here was a discussion - I'm curious how does it work now
P.S.
Well, if NET-comdll is built correctly and registered with regsvr32 (regasm no more needed) - it will work in C++ with CoCreateInstance as well
Best regards.
[Updated on: Thu, 24 July 2025 21:24] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed Aug 20 09:56:48 CEST 2025
Total time taken to generate the page: 0.06345 seconds
|