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

.NET (Core and Framework)

 
GeneralRe: Any learning materials specifically on porting WPF to MAUI? Pin
greatoceansoftware26-Nov-21 9:07
Membergreatoceansoftware26-Nov-21 9:07 
QuestionNew to ASP.NET. Which one should I start with? Pin
Master PC 24-Nov-21 14:56
MemberMaster PC 24-Nov-21 14:56 
AnswerRe: New to ASP.NET. Which one should I start with? Pin
Richard Deeming24-Nov-21 21:29
mveRichard Deeming24-Nov-21 21:29 
QuestionCreating a COM component in .NET 5 Pin
Gaston Verelst19-Nov-21 3:53
MemberGaston Verelst19-Nov-21 3:53 
AnswerRe: Creating a COM component in .NET 5 Pin
Gerry Schmitz19-Nov-21 7:54
mveGerry Schmitz19-Nov-21 7:54 
GeneralRe: Creating a COM component in .NET 5 Pin
Gaston Verelst19-Nov-21 20:29
MemberGaston Verelst19-Nov-21 20:29 
GeneralRe: Creating a COM component in .NET 5 Pin
Gerry Schmitz20-Nov-21 8:18
mveGerry Schmitz20-Nov-21 8:18 
GeneralRe: Creating a COM component in .NET 5 Pin
Gaston Verelst22-Nov-21 1:38
MemberGaston Verelst22-Nov-21 1: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 4:58
mveGerry Schmitz22-Nov-21 4:58 
PraiseRe: Creating a COM component in .NET 5 Pin
Gaston Verelst22-Nov-21 5:34
MemberGaston Verelst22-Nov-21 5:34 
GeneralRe: Creating a COM component in .NET 5 Pin
Gerry Schmitz22-Nov-21 5:42
mveGerry Schmitz22-Nov-21 5:42 
GeneralRe: Creating a COM component in .NET 5 Pin
Gaston Verelst22-Nov-21 19:57
MemberGaston Verelst22-Nov-21 19:57 
GeneralRe: Creating a COM component in .NET 5 Pin
Gaston Verelst26-Nov-21 1:18
MemberGaston Verelst26-Nov-21 1:18 
GeneralRe: Creating a COM component in .NET 5 Pin
Gerry Schmitz30-Nov-21 10:12
mveGerry Schmitz30-Nov-21 10:12 
GeneralRe: Creating a COM component in .NET 5 Pin
Gaston Verelst30-Nov-21 19:33
MemberGaston Verelst30-Nov-21 19:33 
Suggestionany resources for learning porpuses Pin
lv1115-Nov-21 18:21
Memberlv1115-Nov-21 18:21 
GeneralRe: any resources for learning porpuses Pin
Richard MacCutchan15-Nov-21 20:57
mveRichard MacCutchan15-Nov-21 20:57 
JokeRe: any resources for learning porpuses Pin
Richard Deeming16-Nov-21 22:41
mveRichard Deeming16-Nov-21 22:41 
GeneralRe: any resources for learning porpuses Pin
lv1118-Nov-21 14:27
Memberlv1118-Nov-21 14:27 
GeneralRe: any resources for learning porpuses Pin
lv1118-Nov-21 17:12
Memberlv1118-Nov-21 17:12 
GeneralRe: any resources for learning porpuses Pin
Eddy Vluggen20-Nov-21 14:01
professionalEddy Vluggen20-Nov-21 14:01 
GeneralRe: any resources for learning porpuses Pin
lv1121-Nov-21 19:40
Memberlv1121-Nov-21 19:40 
GeneralRe: any resources for learning porpuses Pin
Eddy Vluggen22-Nov-21 10:01
professionalEddy Vluggen22-Nov-21 10:01 
GeneralRe: any resources for learning porpuses Pin
lv1122-Nov-21 10:11
Memberlv1122-Nov-21 10:11 
QuestionRe: any resources for learning porpuses Pin
Eddy Vluggen22-Nov-21 10:25
professionalEddy Vluggen22-Nov-21 10:25 

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.