Troubleshooting
Problem
To compile a resource script, you need a Visual Basic resource compiler. The RC file, not the RES file, should be part of your project. You should be able to edit it in the Visual Basic IDE. Visual Basic should automatically compile it to a RES file whenever the RC file is newer than the RES file.
Cause
User failed to execute a VB script via TestManager suite. The Visual Basic project has missing the .REC-Resource file format.
User followed steps generating and compiled a Resource File from technote # 1147704. During the file compilation process, user is getting an error "Unknown command rc"
To compile a resource script, you need a Visual Basic resource compiler.
The RC file, not the RES file, should be part of your project. You should be able to edit it in the Visual Basic IDE. Visual Basic should automatically compile it to a RES file whenever the RC file is newer than the RES file.
Resolving The Problem
In order to find out if you have a Visual Basic Resource Compiler on your machine, type this at the command prompt ‘C:\>rc /?’ and You should be able to get this result:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Microsoft (R) Windows 32 Resource Compiler, Version 5.00.1641.1 - Build 1641
Usage: rc [options] .RC input file
Switches:
/r Emit .RES file (optional)
/v Verbose (print progress messages)
/d Define a symbol
/u Undefine a symbol
/fo Rename .RES file
/l Default language ID in hex
/i Add a path for INCLUDE searches
/x Ignore INCLUDE environment variable
/c Define a code page used by NLS conversion
/w Warn on Invalid codepage in .rc (default is an error)
/n Append null's to all strings in the string tables.
Flags may be either upper or lower case
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
In conclusion, you need to compile the RC file on the machine where a VB IDE is installed.
Was this topic helpful?
Document Information
More support for:
Rational TestManager
Software version:
2002, 2003
Operating system(s):
Windows
Document number:
340265
Modified date:
16 June 2018
UID
swg21208252