Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   How to add Version to DLL created by a VC++ build in VS 6.0 (http://www.go4expert.com/forums/add-version-dll-created-vcpp-build-vs-60-t19199/)

marconi_07 27Aug2009 19:55

How to add Version to DLL created by a VC++ build in VS 6.0
 
I have a DLL created by a VC++ build in Visual Studio 6.0. When I right click on the DLL, I could just see 'General', 'Security' and 'Summary' Tabs but I am not able to view the 'version' tab under Properties.

In Visual Studio 2005, if the 'Version' tab is not available, I am able to add the 'Version' Tab as follows :- Resource Files -> Add -> Resource.. -> Version

However for the VC++ DLL created in Visual Studio 6.0, I am not able to add the version. I believe this is a trivial change to the DLL, as the version number is a property of the project in Visual Studio 6.0 also. I assume that populating the version number will automatically cause the version tab to appear in the Properties window obtained by right clicking on the DLL.

Request, if anyone could help me with this. The Build is VC++ one and in Visual Studio 6.0.

Thanks a lot.
Marconi.

xpi0t0s 27Aug2009 21:30

Re: How to add Version to DLL created by a VC++ build in VS 6.0
 
Version strings are part of the resources for the DLL. It's a long time since I used VC6 but IIRC all you need to do is add to the project a .rc file containing the version definition and it'll be compiled and linked in.


All times are GMT +5.5. The time now is 09:32.