随便拿一个例子的rc文件来看,不像是手写的样子。。
///////////////////////////////////////////////////////////////////////////////
///
/// Copyright (c) 2010 - <company name here>
///
/// The version information resource. Depends on "drvversion.h" header file.
///
/// (File was in the PUBLIC DOMAIN - Created by: ddkwizard\.assarbad\.net)
///////////////////////////////////////////////////////////////////////////////
// $Id$
#include <winver.h>
#include <winnt.h>
#ifdef RC_INVOKED
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include "drvcommon.h"
#include "drvversion.h"
VS_VERSION_INFO VERSIONINFO
FILEVERSION CREATE_XVER(FILE_MAJVER, FILE_MINVER, FILE_BUILD)
PRODUCTVERSION CREATE_XVER(PRD_MAJVER, PRD_MINVER, 0)
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS ACTUAL_FILEFLAGS
FILEOS VOS_NT
FILETYPE VFT_DRV
FILESUBTYPE VFT2_DRV_SYSTEM
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "000004b0"
BEGIN
#ifdef TEXT_AUTHOR
VALUE "Author", ANSISTRING(TEXT_AUTHOR)
#endif
#ifdef TEXT_COMMENTS
VALUE "Comments", ANSISTRING(TEXT_COMMENTS)
#endif
VALUE "CompanyName", ANSISTRING(TEXT_COMPANY)
VALUE "FileDescription", ANSISTRING(TEXT_FILEDESC)
VALUE "FileVersion", ANSISTRING(CREATE_FVER(FILE_MAJVER, FILE_MINVER, FILE_BUILD))
VALUE "InternalName", ANSISTRING(TEXT_INTERNALNAME)
VALUE "LegalCopyright", ANSISTRING(TEXT_COPYRIGHT)
VALUE "OriginalFilename", ANSISTRING(TEXT_MODULE)
VALUE "ProductName", ANSISTRING(TEXT_PRODUCTNAME)
VALUE "ProductVersion", ANSISTRING(CREATE_PVER(PRD_MAJVER, PRD_MINVER, PRD_BUILD))
#ifdef TEXT_SPECIALBUILD
VALUE "SpecialBuild", ANSISTRING(TEXT_SPECIALBUILD)
#endif
VALUE "Website", ANSISTRING(TEXT_WEBSITE)
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0, 1200
END
END
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,0
PRODUCTVERSION 3,0
FILEFLAGSMASK 0x3fL
FILEOS 0x4L
FILETYPE 0x0L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", " ****** Co.,Ltd"
VALUE "FileDescription", "**** Filter Driver"
VALUE "FileVersion", "1.0"
VALUE "InternalName", "****.sys"
VALUE "LegalCopyright", "Copyright (C) ****. All rights reserved."
VALUE "OriginalFilename", "****.sys"
VALUE "ProductName", "**** Filter Driver"
VALUE "ProductVersion", "1.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END