Yes, I think we can make the switch in gwin32packageparser.c (et.al) to use
the official types and naming conventions. In a matter of days I'm going to
push a branch with all the required modifications. That branch should
compile with MSVC and have all gwin32api-package.h custom declarations
remove
I can try to add those interfaces in mingw-w64 and/or wine. But it
would be better if the code in glib was written that winrt way.
gwin32packageparser.c[1] was written in normal COM like interfaces.
But the data types are different in winrt headers. For example, sdl
has SDL_windows_gaming_input.c[2
Hi LRN, Biswapriyo!
Should we really want to tackle that, making upstream GLib/GIO compile with
gio/gwin32api-package.h removed would be a great start. I don't have the
new code readily available, but I plan to only add a call to
Ipackage2::get_DisplayName().
Anyway, as LRN points out, this would
On 29.08.2022 13:35, Luca Bacci wrote:
Update: I now see that the structures are declared directly in GLib/GIO
headers,
https://gitlab.gnome.org/GNOME/glib/-/blob/2.73.3/gio/gwin32api-package.h.
I wonder if it would be possible to add the declarations to mingw-w64
headers.
If i remember correctl
Can you provide how to configure the project so that those
APIs/Interfaces will be compiled? Also note that
windows.applicationmodel.idl include many other headers which may take
time to port to mingw-w64.
___
Mingw-w64-public mailing list
Mingw-w64-pub
Update: I now see that the structures are declared directly in GLib/GIO
headers,
https://gitlab.gnome.org/GNOME/glib/-/blob/2.73.3/gio/gwin32api-package.h.
I wonder if it would be possible to add the declarations to mingw-w64
headers.
Thank you,
Luca Bacci
Il giorno lun 29 ago 2022 alle ore 12:31
Hello!
As part of writing an enhancement for GLib/GIO, I have to call into
IPackage2 methods, but IPackage2 seems to be missing from mingw-w64
headers, currently. Would it be possible to update
windows.applicationmodel.idl?
The corresponding files from the Windows Kit are:
C:\Program Files (x86)
在 2022/8/17 13:33, Biswapriyo Nath 写道:
Please try the attached patch.
I have tried the patch with opencv and it works. But I am not sure if
this change will cause any issue in other use cases. Julian Waters
mentioned some usage of _COM_SMARTPTR_TYPEDEF macro in openjdk
project.
The proposed p