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 7 3431
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
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
"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
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"
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
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 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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:
...
|
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...
|
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...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |