Best way to get Program Files/Common Files?

Juan Lang juan.lang at gmail.com
Tue Aug 9 16:43:19 CDT 2011


> I need to get the user configured path to Program Files/Common Files
> to save the dinput action mapping settings.
>
> What are the my options for doing this?
>
> One way I found is the SHGetSpecialFolderPath function, but it
> requires me to link to shell32 and I suspect there's a better way.

I believe this is the preferred way, at least from Microsoft's point of view.
--Juan



More information about the wine-devel mailing list