From 285b4cbb776764ba8420be8a633e76120196c1c3 Mon Sep 17 00:00:00 2001 From: Rageking8 Date: Tue, 16 Sep 2025 22:17:45 +0800 Subject: [PATCH 1/3] Add blockquotes for warning messages in range [RW4001, RW4004] --- .../tool-errors/resource-compiler-warning-rw4001.md | 2 +- .../tool-errors/resource-compiler-warning-rw4003.md | 2 +- .../tool-errors/resource-compiler-warning-rw4004.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/error-messages/tool-errors/resource-compiler-warning-rw4001.md b/docs/error-messages/tool-errors/resource-compiler-warning-rw4001.md index 1218c5f7b8a..72251fa375f 100644 --- a/docs/error-messages/tool-errors/resource-compiler-warning-rw4001.md +++ b/docs/error-messages/tool-errors/resource-compiler-warning-rw4001.md @@ -8,6 +8,6 @@ ms.assetid: 7c2d35eb-9899-46f5-848d-7ef49c39d706 --- # Resource Compiler Warning RW4001 -.EXE processing options (/L /M /P /T /K /E /31 or /30) +> .EXE processing options (/L /M /P /T /K /E /31 or /30) You specified EXE processing options, but there was no executable file to process. Don't use these options with a .res file. diff --git a/docs/error-messages/tool-errors/resource-compiler-warning-rw4003.md b/docs/error-messages/tool-errors/resource-compiler-warning-rw4003.md index 2ff11e08bfe..9a0c856ab43 100644 --- a/docs/error-messages/tool-errors/resource-compiler-warning-rw4003.md +++ b/docs/error-messages/tool-errors/resource-compiler-warning-rw4003.md @@ -8,6 +8,6 @@ ms.assetid: e9c289f2-c065-4f26-bc24-991953742abc --- # Resource Compiler Warning RW4003 -SHIFT or CONTROL used without VIRTKEY +> SHIFT or CONTROL used without VIRTKEY In an accelerator table resource, SHIFT or CONTROL requires VIRTKEY. Because SHIFT and CONTROL are indicated as flag bits in a VIRTKEY type accelerator, they cannot exist independent from a VIRTKEY. diff --git a/docs/error-messages/tool-errors/resource-compiler-warning-rw4004.md b/docs/error-messages/tool-errors/resource-compiler-warning-rw4004.md index 16d53e49d0d..f889e2a0453 100644 --- a/docs/error-messages/tool-errors/resource-compiler-warning-rw4004.md +++ b/docs/error-messages/tool-errors/resource-compiler-warning-rw4004.md @@ -8,7 +8,7 @@ ms.assetid: 596b6a89-9ce7-4ba7-bdcb-e8054c7efafa --- # Resource Compiler Warning RW4004 -ASCII character not equivalent to virtual key code +> ASCII character not equivalent to virtual key code A string literal was used for the virtual key code in a VIRTKEY type accelerator. From 177feb6d33e959372a971eb00dba89a0ba935970 Mon Sep 17 00:00:00 2001 From: Rageking8 Date: Tue, 16 Sep 2025 22:19:04 +0800 Subject: [PATCH 2/3] Add "Remarks" headings for warning references in range [RW4001, RW4004] --- .../tool-errors/resource-compiler-warning-rw4001.md | 2 ++ .../tool-errors/resource-compiler-warning-rw4003.md | 2 ++ .../tool-errors/resource-compiler-warning-rw4004.md | 2 ++ 3 files changed, 6 insertions(+) diff --git a/docs/error-messages/tool-errors/resource-compiler-warning-rw4001.md b/docs/error-messages/tool-errors/resource-compiler-warning-rw4001.md index 72251fa375f..1f330099575 100644 --- a/docs/error-messages/tool-errors/resource-compiler-warning-rw4001.md +++ b/docs/error-messages/tool-errors/resource-compiler-warning-rw4001.md @@ -10,4 +10,6 @@ ms.assetid: 7c2d35eb-9899-46f5-848d-7ef49c39d706 > .EXE processing options (/L /M /P /T /K /E /31 or /30) +## Remarks + You specified EXE processing options, but there was no executable file to process. Don't use these options with a .res file. diff --git a/docs/error-messages/tool-errors/resource-compiler-warning-rw4003.md b/docs/error-messages/tool-errors/resource-compiler-warning-rw4003.md index 9a0c856ab43..28f060bcadf 100644 --- a/docs/error-messages/tool-errors/resource-compiler-warning-rw4003.md +++ b/docs/error-messages/tool-errors/resource-compiler-warning-rw4003.md @@ -10,4 +10,6 @@ ms.assetid: e9c289f2-c065-4f26-bc24-991953742abc > SHIFT or CONTROL used without VIRTKEY +## Remarks + In an accelerator table resource, SHIFT or CONTROL requires VIRTKEY. Because SHIFT and CONTROL are indicated as flag bits in a VIRTKEY type accelerator, they cannot exist independent from a VIRTKEY. diff --git a/docs/error-messages/tool-errors/resource-compiler-warning-rw4004.md b/docs/error-messages/tool-errors/resource-compiler-warning-rw4004.md index f889e2a0453..b8cee421676 100644 --- a/docs/error-messages/tool-errors/resource-compiler-warning-rw4004.md +++ b/docs/error-messages/tool-errors/resource-compiler-warning-rw4004.md @@ -10,6 +10,8 @@ ms.assetid: 596b6a89-9ce7-4ba7-bdcb-e8054c7efafa > ASCII character not equivalent to virtual key code +## Remarks + A string literal was used for the virtual key code in a VIRTKEY type accelerator. This warning allows you to continue, but be aware that the accelerator keys generated may not match the string you indicated. (VIRTKEYs use different key codes than ASCII accelerators.) From 405cb1353035256ae6888c47a7167f4da9e08e57 Mon Sep 17 00:00:00 2001 From: Rageking8 Date: Tue, 16 Sep 2025 22:19:53 +0800 Subject: [PATCH 3/3] Update metadata for warning references in range [RW4001, RW4004] --- .../tool-errors/resource-compiler-warning-rw4001.md | 5 ++--- .../tool-errors/resource-compiler-warning-rw4003.md | 5 ++--- .../tool-errors/resource-compiler-warning-rw4004.md | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/error-messages/tool-errors/resource-compiler-warning-rw4001.md b/docs/error-messages/tool-errors/resource-compiler-warning-rw4001.md index 1f330099575..e800d8c2c8b 100644 --- a/docs/error-messages/tool-errors/resource-compiler-warning-rw4001.md +++ b/docs/error-messages/tool-errors/resource-compiler-warning-rw4001.md @@ -1,10 +1,9 @@ --- -description: "Learn more about: Resource Compiler Warning RW4001" title: "Resource Compiler Warning RW4001" -ms.date: "11/04/2016" +description: "Learn more about: Resource Compiler Warning RW4001" +ms.date: 11/04/2016 f1_keywords: ["RW4001"] helpviewer_keywords: ["RW4001"] -ms.assetid: 7c2d35eb-9899-46f5-848d-7ef49c39d706 --- # Resource Compiler Warning RW4001 diff --git a/docs/error-messages/tool-errors/resource-compiler-warning-rw4003.md b/docs/error-messages/tool-errors/resource-compiler-warning-rw4003.md index 28f060bcadf..5d5c68ffcc1 100644 --- a/docs/error-messages/tool-errors/resource-compiler-warning-rw4003.md +++ b/docs/error-messages/tool-errors/resource-compiler-warning-rw4003.md @@ -1,10 +1,9 @@ --- -description: "Learn more about: Resource Compiler Warning RW4003" title: "Resource Compiler Warning RW4003" -ms.date: "11/04/2016" +description: "Learn more about: Resource Compiler Warning RW4003" +ms.date: 11/04/2016 f1_keywords: ["RW4003"] helpviewer_keywords: ["RW4003"] -ms.assetid: e9c289f2-c065-4f26-bc24-991953742abc --- # Resource Compiler Warning RW4003 diff --git a/docs/error-messages/tool-errors/resource-compiler-warning-rw4004.md b/docs/error-messages/tool-errors/resource-compiler-warning-rw4004.md index b8cee421676..e54b5ee855d 100644 --- a/docs/error-messages/tool-errors/resource-compiler-warning-rw4004.md +++ b/docs/error-messages/tool-errors/resource-compiler-warning-rw4004.md @@ -1,10 +1,9 @@ --- -description: "Learn more about: Resource Compiler Warning RW4004" title: "Resource Compiler Warning RW4004" -ms.date: "11/04/2016" +description: "Learn more about: Resource Compiler Warning RW4004" +ms.date: 11/04/2016 f1_keywords: ["RW4004"] helpviewer_keywords: ["RW4004"] -ms.assetid: 596b6a89-9ce7-4ba7-bdcb-e8054c7efafa --- # Resource Compiler Warning RW4004