Solved

Get Version/Build Information

Posted on 2004-03-22
1
245 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

832 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