472,958 Members | 2,666 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

Adding VERSION RESOURCE to DLL Project

I am resurrecting this question (since it got bumped down by more
recent posts).

This is probably very simple - I need to add a version resource to a
DLL project in MSVC++ 2005 Express in order to have version info,
copyright, etc. when checking the DLL file properties from Windows
Explorer.

Any guidance is appreciated.
Bruno van Dooren [MVP VC++] wrote:
This is very easy.
Just add a version resource to the project.
The IDE will add all .rc and .h files for you.
The only thing you need to do is to fill in the correct information in the
version resource.
Build your DLL and it will have the version tab in the windows properties
box.

Bruno,

OK, I am trying to add a version resource to the project (MSVC++ 2005
Express). In the Solution Explorer pane I right-click on the "Resource

Files" folder, and select "Add - New Item". The "Add New Item" dialog
gives me "Categories" on the left and "Templates" on the right. The
available categories under "Visual C++" are UI, code, data, and
property sheets. By selecting these I am given options for Templates
as follows:
UI Category -"Windows Form" template
code Category -"C++ File", "Header File", "Component Class" templates

data Category -"DataSet" template
PropertySheets Category -"Property Sheet (.vsprops)" template
Will any of these get me to a "version resource", or am I in the wrong
place? What should I be doing to add the version resource?
Thanks,
Rich

Nov 21 '06 #1
7 3406
Open the resource view. Right click your project and choose "Add" ->
"Resource...".

In the add resource dialog choose "Version"

Marcus

"Rich" <ri************@us.army.milwrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
>I am resurrecting this question (since it got bumped down by more
recent posts).

This is probably very simple - I need to add a version resource to a
DLL project in MSVC++ 2005 Express in order to have version info,
copyright, etc. when checking the DLL file properties from Windows
Explorer.

Any guidance is appreciated.
Bruno van Dooren [MVP VC++] wrote:
>This is very easy.
Just add a version resource to the project.
The IDE will add all .rc and .h files for you.
The only thing you need to do is to fill in the correct information in
the
version resource.
Build your DLL and it will have the version tab in the windows properties
box.


Bruno,

OK, I am trying to add a version resource to the project (MSVC++ 2005
Express). In the Solution Explorer pane I right-click on the "Resource

Files" folder, and select "Add - New Item". The "Add New Item" dialog
gives me "Categories" on the left and "Templates" on the right. The
available categories under "Visual C++" are UI, code, data, and
property sheets. By selecting these I am given options for Templates
as follows:
UI Category -"Windows Form" template
code Category -"C++ File", "Header File", "Component Class" templates

data Category -"DataSet" template
PropertySheets Category -"Property Sheet (.vsprops)" template
Will any of these get me to a "version resource", or am I in the wrong
place? What should I be doing to add the version resource?
Thanks,
Rich

Nov 21 '06 #2

Marcus Heege wrote:
Open the resource view. Right click your project and choose "Add" ->
"Resource...".

In the add resource dialog choose "Version"

Marcus

Marcus,

I feel like an idiot - please bear with me. I am not seing the
resource view - in the Solution Explorer on the left I have three tabs
- Solution Explorer, Class View, and Property Manager.

If I right-click on my project (in solution explorer) and select "Add",
I see five options - New Item, Existing Item, New Filter, Class, and
Resource. The problem here is that "Resource" is grayed-out and cannot
be selected.

Under the "Project" pull-down, I also see things like "Add Class" and
"Add Resource" - again "Add Resource" is grayed-out and cannot be
selected.

What am I missing?

Thanks,
Rich

Nov 21 '06 #3
"Rich" <ri************@us.army.milwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
Marcus,

I feel like an idiot - please bear with me. I am not seing the
resource view - in the Solution Explorer on the left I have three tabs
- Solution Explorer, Class View, and Property Manager.

If I right-click on my project (in solution explorer) and select "Add",
I see five options - New Item, Existing Item, New Filter, Class, and
Resource. The problem here is that "Resource" is grayed-out and cannot
be selected.

Under the "Project" pull-down, I also see things like "Add Class" and
"Add Resource" - again "Add Resource" is grayed-out and cannot be
selected.

What am I missing?

Thanks,
Rich
In the menu "View" you should see the "Resource View". Maybe you are using a
project type where native resources do not make sense.

Marcus
Nov 21 '06 #4
I feel like an idiot - please bear with me. I am not seing the
resource view - in the Solution Explorer on the left I have three tabs
- Solution Explorer, Class View, and Property Manager.

If I right-click on my project (in solution explorer) and select "Add",
I see five options - New Item, Existing Item, New Filter, Class, and
Resource. The problem here is that "Resource" is grayed-out and cannot
be selected.

Under the "Project" pull-down, I also see things like "Add Class" and
"Add Resource" - again "Add Resource" is grayed-out and cannot be
selected.

What am I missing?
Rich,

As I answered before, VC express does not have the resource editor.
I replied to your original post with an attachment. Please look there.

In it is an empty console project with a version resource.
look at the project, and add those files manually to your dll project.
You only need to edit those files in a text editor to fill in the correct
information.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Nov 21 '06 #5

Bruno van Dooren [MVP VC++] wrote:
Rich,

As I answered before, VC express does not have the resource editor.
I replied to your original post with an attachment. Please look there.

In it is an empty console project with a version resource.
look at the project, and add those files manually to your dll project.
You only need to edit those files in a text editor to fill in the correct
information.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Bruno,

Sorry to be a pain - I cannot find your earlier reply or your
attachment. Could you e-mail this to me at ri************@us.army.mil?

Thanks again,
Rich

Nov 21 '06 #6
Sorry to be a pain - I cannot find your earlier reply or your
attachment. Could you e-mail this to me at ri************@us.army.mil?
No problem at all. I sent you a mail with the attachment.
Let me know how it turns out.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Nov 21 '06 #7

Bruno van Dooren [MVP VC++] wrote:
Sorry to be a pain - I cannot find your earlier reply or your
attachment. Could you e-mail this to me at ri************@us.army.mil?

No problem at all. I sent you a mail with the attachment.
Let me know how it turns out.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Bruno,

Received the files, got it working! Thanks for your help.

Rich

Nov 21 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Gabriel Lozano-Morán | last post by:
First of all sorry for the cross-posting but I am not sure wether this belongs under internationalization or just general. Environment: Visual Studio .NET 2003 Problem: Newly added and...
3
by: Bern | last post by:
This message is probably out of topic but I get no response from the less popular microsoft.public.dotnet.general newsgroup. Is there a resource manager of some sort in VS C# .NET which you can...
7
by: Wysiwyg | last post by:
Is there any way to add an embedded resource to a project without copying it to the project's directory? I have shared resources and don't want each project using the images, xml files, etc. to...
6
by: Derek Martin | last post by:
Hi there, I have a couple of bitmaps that are called in my project that I need to use. They were added to my solution as existing objects and are located in the same folder as the rest of the vb...
1
by: Ellis Yu | last post by:
Hi all, I'd tried to follow the instructions from msdn for adding icon image for a control. I've checked the name of bmp file is same as the control name and turn the bmp file to "Embedded...
4
by: Dinsdale | last post by:
I'm looking at adding scheduling features to an application and I wanted to ask the community about any experience with scheduling components, either open source like from code project or from a...
8
by: Jason | last post by:
Hello, I am trying to utilitze the AJAX Control toolkit in my asp.net project. I have added a reference to AjaxControlToolkit.dll, and in my page, added these lines of code: ...
5
by: DBC User | last post by:
I have a situation, where I need to add 4 or 5 data files (they change every time I build) in my project during build time and somehow I need a way to access these files during runtime. So I have...
4
by: Bob Altman | last post by:
Hi all, I have a C++/CLI project (VS 2005) that produces a DLL that exports C bindings. Internally, this DLL contains routines compiled with /clr. I notice that my DLL doesn't have a version...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.