I am working on a cpp application which generates a dll e.g base.dll
. I have some applications that use this dll e.g A.exe
, B.exe
.
I am trying to get the product version of A.exe
and B.exe
in base.dll
. I am using c++11 and boost.
I am compiling this dll for both Windows and Linux.
Currently I am able to get the process name using boost by doing something like this:
std::string pname = boost::log::aux::get_process_name();
I am looking for a similar API to get the product version. Any feedback would be appreciated.