Microsoft KB Archive/71064

From BetaArchive Wiki

PRWIN9104002: Windows 3.00 Resource Compiler Limitations ID Number: Q71064

3.00 WINDOWS buglist3.00

Summary:

PROBLEM ID: WIN9104002

This article lists confirmed limitations in the Windows version 3.00 resource compiler.

LIMITATION Resource Compiler Expression Handling Limited

SYMPTOMS The resource compiler gives error RW2002 when it compiles a given resource script.

CAUSE The resource compiler’s expression parser does not deal with minus signs and spaces consistently. There are contexts in which expressions with minus signs are invalid.

RESOLUTION Remove the spaces between the elements of the expression involving the minus sign or modify the resource statement to remove the expression entirely. LIMITATION Resource Compiler Removes C 6.00 #pragma Comment Strings

SYMPTOMS When the C 6.00 #pragma comment is used to embed comment strings into an executable file and the file is processed by the resource compiler, the strings are removed from the final EXE file.

CAUSE The C compiler places comment strings outside of any segment.