How to get information about a Windows executable (.exe) using C++

前端 未结 4 2089
挽巷
挽巷 2020-12-15 01:04

I have to create a software that will scan several directories and extracts information about the executables found.

I need to do two things:

  • Determine
4条回答
  •  半阙折子戏
    2020-12-15 01:37

    You may find this CodeProject article which wraps the file version API to be helpful for the second task. To check that a file is executable, you probably want to parse the PE headers.

提交回复
热议问题