STF STF -4 years ago 184
C++ Question

change .exe file version

I have a c++ project and I want to change the exe file version by code.

Can someone tell me how to do it?

(I found some ways to do it in other languages but not c++.)

Thanks.

Answer Source
  1. Add a version resource file to your project

In Solution Explorer, right click at your project -> Add -> Resource -> Version

  1. Change value of FILEVERSION key to the value you want
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download