Solved

Get Version/Build Information

Posted on 2004-03-22
1
237 Views
Last Modified: 2013-11-20
i have been trying for the past few days to get the build number of my .exe file to match it to the a key in the dll. im working with Microsoft Visual C++ .net 2003 and have been getting linking error when i try to build it with GetFileVersionInfo. i would like to know how i can write a "script" to compleate this function. all i need is to get the build number of the main file ex. "Shadower.exe".

thanks in advance
0
Comment
Question by:zeurx
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 50 total points
ID: 10655248
>have been getting linking error when i try to build it with GetFileVersionInfo.

You need to add 'Version.lib' to your linker options.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
C++ BOOL WINAPI ReadFile fails on windows 10 when reading from USB cable 9 432
List out all word 7 292
wait notify demo infinite loop 3 110
Not needed 13 112
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question