Click here to Skip to main content
15,562,222 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Incorporating values directly (as is/bytewise) into a string Pin
Gerry Schmitz30-Dec-21 5:50
mveGerry Schmitz30-Dec-21 5:50 
GeneralRe: Incorporating values directly (as is/bytewise) into a string Pin
jschell17-Feb-22 11:48
jschell17-Feb-22 11:48 
AnswerRe: Incorporating values directly (as is/bytewise) into a string Pin
jschell17-Feb-22 12:06
jschell17-Feb-22 12:06 
Questionhow to operate plc from dot net command Pin
Sanket Gaikwad 202128-Dec-21 2:36
Sanket Gaikwad 202128-Dec-21 2:36 
AnswerRe: how to operate plc from dot net command Pin
Richard MacCutchan28-Dec-21 3:04
mveRichard MacCutchan28-Dec-21 3:04 
AnswerRe: how to operate plc from dot net command Pin
Gerry Schmitz28-Dec-21 5:10
mveGerry Schmitz28-Dec-21 5:10 
QuestionText Editor color setting Pin
Oscar K.26-Dec-21 21:21
Oscar K.26-Dec-21 21:21 
AnswerRe: Text Editor color setting Pin
Gerry Schmitz27-Dec-21 6:19
mveGerry Schmitz27-Dec-21 6:19 
GeneralRe: Text Editor color setting Pin
Oscar K.29-Dec-21 2:07
Oscar K.29-Dec-21 2:07 
AnswerRe: Text Editor color setting Pin
trønderen29-Dec-21 2:51
trønderen29-Dec-21 2:51 
PraiseRe: Text Editor color setting Pin
Oscar K.30-Dec-21 0:21
Oscar K.30-Dec-21 0:21 
QuestionAny learning materials specifically on porting WPF to MAUI? Pin
greatoceansoftware26-Nov-21 7:02
greatoceansoftware26-Nov-21 7:02 
AnswerRe: Any learning materials specifically on porting WPF to MAUI? Pin
Gerry Schmitz26-Nov-21 9:08
mveGerry Schmitz26-Nov-21 9:08 
GeneralRe: Any learning materials specifically on porting WPF to MAUI? Pin
greatoceansoftware26-Nov-21 10:07
greatoceansoftware26-Nov-21 10:07 
QuestionNew to ASP.NET. Which one should I start with? Pin
Master PC 24-Nov-21 15:56
Master PC 24-Nov-21 15:56 
AnswerRe: New to ASP.NET. Which one should I start with? Pin
Richard Deeming24-Nov-21 22:29
mveRichard Deeming24-Nov-21 22:29 
QuestionCreating a COM component in .NET 5 Pin
Gaston Verelst19-Nov-21 4:53
Gaston Verelst19-Nov-21 4:53 
AnswerRe: Creating a COM component in .NET 5 Pin
Gerry Schmitz19-Nov-21 8:54
mveGerry Schmitz19-Nov-21 8:54 
GeneralRe: Creating a COM component in .NET 5 Pin
Gaston Verelst19-Nov-21 21:29
Gaston Verelst19-Nov-21 21:29 
GeneralRe: Creating a COM component in .NET 5 Pin
Gerry Schmitz20-Nov-21 9:18
mveGerry Schmitz20-Nov-21 9:18 
GeneralRe: Creating a COM component in .NET 5 Pin
Gaston Verelst22-Nov-21 2:38
Gaston Verelst22-Nov-21 2:38 
Thanks for the link!

Unfortunately it doesn't help. It seems that regasm doesn't recognize .NET 5 assemblies. Regsvr32 does, and it registers the component / interface / library, but no TLB is generated. That makes it virtually useless.
From Exposing .NET Core components to COM | Microsoft Docs :
Quote:
Unlike in .NET Framework, there is no support in .NET Core or .NET 5+ for generating a COM Type Library (TLB) from a .NET assembly. The guidance is to either manually write an IDL file or a C/C++ header for the native declarations of the COM interfaces.


So now I'm investigating how to create / compile / use the correct IDL file. Should anyone have some good pointers for that, let me know Smile | :)

Thanks,
Gaston
Check out my blog at http://msdev.pro/

GeneralRe: Creating a COM component in .NET 5 Pin
Gerry Schmitz22-Nov-21 5:58
mveGerry Schmitz22-Nov-21 5:58 
PraiseRe: Creating a COM component in .NET 5 Pin
Gaston Verelst22-Nov-21 6:34
Gaston Verelst22-Nov-21 6:34 
GeneralRe: Creating a COM component in .NET 5 Pin
Gerry Schmitz22-Nov-21 6:42
mveGerry Schmitz22-Nov-21 6:42 
GeneralRe: Creating a COM component in .NET 5 Pin
Gaston Verelst22-Nov-21 20:57
Gaston Verelst22-Nov-21 20:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.