Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Get Version/Build Information

Posted on 2004-03-22
1
Medium Priority
?
272 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 150 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

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

963 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