How can 32-bit application find the location of 64-bit Program Files directory on Windows Vista 64-bit?

前端 未结 4 478
鱼传尺愫
鱼传尺愫 2021-01-12 02:31

I\'m struggling with a problem of how to determine the location of the 64-bit Program Files directory on 64-bit Windows Vista from a 32-bit application.

Calls to

4条回答
  •  渐次进展
    2021-01-12 03:00

    If you read that page carefully you will see that FOLDERID_ProgramFilesX64 is supported for 32 bits applications on a 64-bit OS. It's NOT supported on a 32-bit OS, which makes complete sense.

提交回复
热议问题