The MASM Forum

General => The Soap Box => Topic started by: hutch-- on July 31, 2019, 06:51:25 AM

Title: I found the latest version of RC.EXE
Post by: hutch-- on July 31, 2019, 06:51:25 AM
If you navigate through a standard installation of VC 2019 to this address you will find the latest version of RC.EXE.

C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64>

To get what was basically a mountain of chyte it took some gigabytes to download the "SDKs" with the current VC installer and then some massive quantity of directories and files that you have to scan through to find anything useful.


Title: Re: I found the latest version of RC.EXE
Post by: TimoVJL on July 31, 2019, 03:22:23 PM
Windows 10 SDK is huge.

rc's comes from windows sdk for windows store apps tools-x86_en-us.msi + couple cabs, download size about 34 MB.
Title: Re: I found the latest version of RC.EXE
Post by: Vortex on August 01, 2019, 04:13:39 AM
Timo's method is very good to retrieve only the necessary components.
Title: Re: I found the latest version of RC.EXE
Post by: fearless on August 01, 2019, 06:30:04 AM
You could download just the specific cab files and use something like 7zip to extract the archives. The following files are the resource compiler files:

69661e20556b3ca9456b946c2c881ddd.cab - x64e3d1b35aecfccda1b4af6fe5988ac4be.cab - x86I think it would be possible to create a small utility to download just the required cabs, extract the files and then rename them to the proper filenames
Title: Re: I found the latest version of RC.EXE
Post by: jj2007 on August 01, 2019, 08:37:47 AM
You could download just the specific cab files

Are they available as specific downloads, with a URL for every cab file?
Title: Re: I found the latest version of RC.EXE
Post by: Vortex on August 01, 2019, 08:23:32 PM
Two resource compilers, one for x86 and the other one for x64 :

Code: [Select]
C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86
Code: [Select]
C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\rc.exe
Title: Re: I found the latest version of RC.EXE
Post by: Iznogoode on August 29, 2019, 12:52:11 AM
Thanks, Vortex !!!!!!
It's difficult to find
Title: Re: I found the latest version of RC.EXE
Post by: jelkein on October 25, 2019, 12:56:05 PM
We hit this issue with our CMake/Visual Studio 2015 builds after also installing VS2017 on the machine. The correct solution in our case is to specify the Window Kit version (8.1) to the Visual Studio Command Prompt - otherwise you get the Windows 10 Kit by default which doesn't include rc.exe in the bin directory.

e.g. Start Menu->Visual Studio 2015->VS2015 x64 Native Tools Command Prompt

%comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 8.1
Title: Re: I found the latest version of RC.EXE
Post by: hutch-- on October 26, 2019, 03:38:00 AM
This is what I got with VS 2019

C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64

18/03/2019  08:50 PM            70,088 rc.exe
18/03/2019  08:50 PM           424,904 rcdll.dll
Title: Re: I found the latest version of RC.EXE
Post by: TimoVJL on October 26, 2019, 04:41:30 AM
https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
Code: [Select]
75 rc.exe 70088 10.0.18362.1 Windows Kits\10\bin\10.0.18362.0\x64\ 69661e20556b3ca9456b946c2c881ddd.cab
76 rcdll.dll 424904 10.0.18362.1 Windows Kits\10\bin\10.0.18362.0\x64\ 69661e20556b3ca9456b946c2c881ddd.cab
304 rc.exe 67016 10.0.18362.1 Windows Kits\10\bin\10.0.18362.0\x86\ e3d1b35aecfccda1b4af6fe5988ac4be.cab
305 rcdll.dll 360392 10.0.18362.1 Windows Kits\10\bin\10.0.18362.0\x86\ e3d1b35aecfccda1b4af6fe5988ac4be.cab