I have to create a software that will scan several directories and extracts information about the executables found.
I need to do two things:
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.