Click here to Skip to main content
15,886,199 members
Articles / Desktop Programming / MFC

Auto Windows Resource (*.rc) version Editor

Rate me:
Please Sign up or sign in to vote.
4.33/5 (13 votes)
23 Jun 20033 min read 123.9K   2.2K   48  
This freeware allows to edit a Windows Resources File (*.rc) and to produce a file named 'version.h' containing several string constants (#define). It can also synchronize a RC file and version.h with the Classbuilder Master Header File.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by rcversion.rc
//
#define IDC_SAVE                        3
#define IDC_SYNCHRONIZE                 4
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_RCVERSION_DIALOG            102
#define IDS_OK                          102
#define IDS_NOT_FOUND                   103
#define IDS_FOUND                       104
#define IDR_MAINFRAME                   128
#define IDR_MENU1                       129
#define ID_MAINMENU_ABOUT               133
#define IDC_EDIT_DATAMODEL              900
#define IDC_EDIT_COMPANYNAME            901
#define IDC_EDIT_PRODUCTNAME            902
#define IDC_EDIT_FILEDESC               903
#define IDC_EDIT_FILEVERSION            904
#define IDC_CHECK_AUTO_FVERSION         905
#define IDC_EDIT_PRODUCTVERSION         906
#define IDC_EDIT_COPYRIGHT              907
#define IDC_EDIT_PRIVBUILD              908
#define IDC_CHECK_AUTO_PRIVBUILD        910
#define IDC_EDIT_RCFILENAME             1000
#define IDC_EDIT_HELP                   1007
#define IDC_EDIT_OUTPUT_FILENAME        1009
#define IDC_EDIT_OUTPUT_FILENAME2       1010
#define IDC_EDIT_MHEADER_FILENAME       1010
#define IDC_BUTTON_ABOUT                1011
#define IDC_STATIC_RCFILE_OK            1012
#define IDC_STATIC_ABOUT                1013
#define IDC_STATIC_OUTFILE_OK           1013
#define IDC_STATIC_MHEADER_FILE_OK      1014
#define IDC_STATIC_COMPANY_OK           1015
#define IDC_STATIC_PRODUCT_OK           1016
#define IDC_STATIC_DESCRIPTION_OK       1017
#define IDC_STATIC_PVERSION_OK          1018
#define IDC_STATIC_COPYRIGHT_OK         1019
#define IDC_VIEW_VERSION_H              1020
#define IDC_RELOAD                      1021
#define IDC_EDIT_CBD_FILENAME           1022
#define IDC_STATIC_CBDFILE_OK           1023
#define IDC_STATIC_DATAMODEL_OK         1025
#define IDC_BROWSE                      1026
#define IDC_EDIT_DATE                   1027
#define IDC_STATIC_DATE_OK              1028
#define IDC_VIEW_RCFILE                 1030
#define IDC_EDIT_TIME                   1031
#define IDC_STATIC_TIME_OK              1032
#define IDC_EDIT_VERSION                1033
#define IDC_STATIC_VERSION_OK           1034
#define IDC_BUTTON_PREVIEW              1035
#define IDC_BUTTON_PREVIEW_RCFILE       1036
#define IDC_EDIT_PREFIX                 1037
#define IDC_RICHEDIT21                  1038
#define IDC_RICHEDIT_PREVIEW            1038

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        134
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1039
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
France France
I started programming when I was 12 years old. Since I learned some computer languages (C/C++, Perl, PHP, ASM(Z80, 68000, x86), UML ,SQL,...), some API (FLTK, QT, wxWindows, Win32, Direct3D, OpenGL and now MFC...).
Next, I worked as Web Programmer, as Network & Systems Admin (Scientific Calculators, Virtual Reality System, Solaris, SGI, W9X/NT/2K/XP,....).
Now I'm Computer Consultant from Network & Systems Administration and specific developments (PHP/MYSQL, Perl, C/C++/MFC,)

Comments and Discussions