How to get Version attribute from a file without terminal commands

Hi, i would like to read the app version and the short description of a file in c / c++. I’ve already tried B_APPV_FINAL, but I get a message that he doesn’t know that.
Am i missing something?
Mime.h is inserted.

i don’t want to use the terminal program.

Regards lorglas