-
Notifications
You must be signed in to change notification settings - Fork 508
COM Support #8248
Comments
#8143 has discussion about the implementation strategy for ComWrappers in CoreRT. These comments points to components that you may be able to reuse: #8143 (comment)
You can ignore the "tracker" part of the ComWrappers functionality like |
Hi! I'm so sorry about the late reply. |
@jkotas I'm confused about this aswell. It would improve the value of CoreRT even more. |
@Joshquinberoani and @VS-ux I will link to a reply I made in the C#/WinRT repo. I want to make sure expectations are understood about the API in question - it isn't technically needed for COM support and has nothing to do with the built-in COM support. See microsoft/CsWinRT#308 (comment). |
The built-in COM support in classic .NET runtimes is not AOT friendly. It is not possible to reliably compute the set of COM interop wrappers that the application is going to need. Well, one can say that it will need everything possible but then the resulting binary is going to be big that defeats the point of runtime optimized for AOT. You can just use CoreCLR as it exists today and it is likely going to work better. Even if it was possible to reliably compute this set, it is not desirable to build the pre-generation of all COM interop marshaling into the AOT compiler since it is very complex. It is better to delegate both figuring out the set of COM interop wrappers that are required and their generation to an external tool. ComWrappers helps in two ways:
|
@jkotas Hi! ` ntdll.dll!00007ffab3935854() Unknown
Does anybody know a fix to this? |
HI!
So I've seen this repo for a couple of months and it's pretty cool. However, I was wondering when or how COM will be supported.
Keep in mind this type of stuff is not my area of expertise so I apologize for any mistakes.
I use Winforms alot and that includes using things such as
OpenFileDialog
. However, since COM isn't supported, these things don't work. Issue #4219 showed some examples and this sample helped alot. However, when CoreRT'ing and starting the binary it failed. I think it's because I didn't follow step 6 as listed here. I'm unsure what to do on that step. Can somebody guide me through what to do? (I really just need support for MenuStrip, ContextMenuStrip, ToolStrip, and possibly StatusStrip.Thanks
The text was updated successfully, but these errors were encountered: