Microsoft KB Archive/35492

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:21, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q35492 to Microsoft KB Archive/35492 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Nonstandard Format for Octal Integers in the RCDATA Statement

PSS ID Number: Q35492 Article last modified on 11-05-1993

2.03 3.00 MS-DOS

The information in this article applies to:
- Microsoft Windows Software Development Kit for Windows version 3.0

SUMMARY

Page 33 of the “Microsoft Windows Software Development Kit Programming Tools” manual incorrectly describes the RCDATA statement. The text states that “the raw-data field specifies one or more integers and strings stated in standard C-language format.” It also states that “integers are given in decimal, octal, or hexadecimal format.” However, this is not true of octal integers. Octal integers are currently not given in C-language format. The example in the manual and the example below work with Version 2.03 and Version 2.03em of the RC compiler. However, the example is not given in the correct C-language format.

MORE INFORMATION

A subset of the above-mentioned example is as follows: resname RCDATA BEGIN 0o733 /* Octal integer */ END If the octal integer matched the standard C-language format, it would be specified as 0733 rather than as 0o733. If you try to specify the octal integer in correct C-language format, the RC compiler interprets the value as a decimal rather than octal.

Additional reference words: 3.00 KBCategory: KBSubcategory: TlsRcUser Copyright Microsoft Corporation 1993.