This page contains an example of said manifest:

https://learn.microsoft.com/en-us/windows/win32/controls/cookbook-overview


On 8/5/2023 18:07, LIU Hao wrote:
在 2023/5/8 17:46, Maarten ten Velden 写道:
The following should output atleast a (the LoadIconMetric call here is improper usage), but it doesn't even output a. Commenting out LoadIconMetric causes a to be output. The problem thus must be linking LoadIconMetric?

You need to load another version of COMCTL32.DLL, since the default one doesn't have that function. There is some information on this answer [1]. Unfortunately, GCC doesn't accept this #pragma thing and you will have to provide the manifest as an XML resource.


[1] https://social.msdn.microsoft.com/Forums/en-US/722193a4-7fba-4ed9-a41f-6629efdb2a78/loadiconmetric-corresponding-ordinal-number-380-could-not-be-located?forum=vcgeneral




_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to