Solved

Get Version/Build Information

Posted on 2004-03-22
1
254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Shell script to login to remote m/c and execute commands 10 81
maven archtype selection in eclipse 1 59
wait notify demo infinite loop 3 151
changeXy challenge 13 98
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.

710 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