Click here to Skip to main content
15,848,905 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 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 
GeneralRe: Creating a COM component in .NET 5 Pin
Gaston Verelst26-Nov-21 2:18
Gaston Verelst26-Nov-21 2:18 
GeneralRe: Creating a COM component in .NET 5 Pin
Gerry Schmitz30-Nov-21 11:12
mveGerry Schmitz30-Nov-21 11:12 
GeneralRe: Creating a COM component in .NET 5 Pin
Gaston Verelst30-Nov-21 20:33
Gaston Verelst30-Nov-21 20:33 
Suggestionany resources for learning porpuses Pin
lv1115-Nov-21 19:21
lv1115-Nov-21 19:21 
GeneralRe: any resources for learning porpuses Pin
Richard MacCutchan15-Nov-21 21:57
mveRichard MacCutchan15-Nov-21 21:57 
JokeRe: any resources for learning porpuses Pin
Richard Deeming16-Nov-21 23:41
mveRichard Deeming16-Nov-21 23:41 
GeneralRe: any resources for learning porpuses Pin
lv1118-Nov-21 15:27
lv1118-Nov-21 15:27 
GeneralRe: any resources for learning porpuses Pin
lv1118-Nov-21 18:12
lv1118-Nov-21 18:12 
GeneralRe: any resources for learning porpuses Pin
Eddy Vluggen20-Nov-21 15:01
professionalEddy Vluggen20-Nov-21 15:01 
GeneralRe: any resources for learning porpuses Pin
lv1121-Nov-21 20:40
lv1121-Nov-21 20:40 
GeneralRe: any resources for learning porpuses Pin
Eddy Vluggen22-Nov-21 11:01
professionalEddy Vluggen22-Nov-21 11:01 
GeneralRe: any resources for learning porpuses Pin
lv1122-Nov-21 11:11
lv1122-Nov-21 11:11 
QuestionRe: any resources for learning porpuses Pin
Eddy Vluggen22-Nov-21 11:25
professionalEddy Vluggen22-Nov-21 11: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.