-
Jehan authored
This function returns a HINSTANCE (which is technically a pointer if I understand correctly) for backward compatibility reason. But this is actually meant to be used as an int only according to the docs. Yet casting to gint outputs "cast from pointer to integer of different size" warnings. We should use intptr_t instead for such cases, since it is a type made explicitly to hold a pointer as int, hence should always be right on any platform. https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shellexecutea
a2c92c57