Andrii Kurdiumov

Results 380 comments of Andrii Kurdiumov

Another big area for ComWrappers - hosting of ActiveX controls The ActiveX host know about following OLE interfaces ``` Ole32.IPersistStreamInit Ole32.IPersistStream Ole32.IPersistStorage Ole32.IPersistStreamInit Ole32.IQuickActivate Ole32.IOleControl Ole32.IOleInPlaceActiveObject Ole32.IOleInPlaceObject Ole32.IOleInPlaceObjectWindowless Oleaut32.IPersistPropertyBag VSSDK.ICategorizeProperties...

I create issue for exploration. but I want to note, that Com Marshalling does not applicable. .NET 7 should work with NativeAOT/disabled built-in COM without [bandaid](https://github.com/kant2002/WinFormsComInterop) required for previous versions....

First work is started in https://github.com/dotnet/winforms/pull/7172

For the record LibraryImport work started https://github.com/dotnet/winforms/pull/7172 based on my previous attempts we need a lot of structure marshalers. What’s recommendations for dealing with structures? There a lot of them...

Okay. I wrote a small tool which analyze `System.Windows.Forms.Primitives` where most DllImport lives. Methods analysis: ``` === Total DllImport methods: 447 === === Methods with unmanaged parameters : 252 ===...

This API should be used instead of similar method `DragDropEffects DoDragDrop(object data, DragDropEffects allowedEffects)` which are already exists. Currently this method can accept 1. Random .NET object 2. Inheritor of...

@RussKie do you need additional information?

@RussKie are the team has possibility to discuss this issue on the meetings?

@JeremyKuhne the goal is shift responsibility for built-in COM from WinForms to user code. `object` can be `_ComObject` if unknown nature.

Consider this piece of code somewhere in the external library. ```csharp [ComImport] [Guid("XXXX")] interface IMyDataObject { // similar implementation goes here. } static extern GetMyDataObject(out IMyDataObject dataObject); ... // inside...