How add resource.res in RDMD

Boris Carvajal boris2.9 at gmail.com
Mon Feb 3 05:11:30 UTC 2020


On Monday, 3 February 2020 at 03:03:20 UTC, Marcone wrote:
> On Sunday, 2 February 2020 at 06:03:06 UTC, Marcone wrote:
>> I like use rdmd when I am programming. But I need that the 
>> program use resource file becouse I am creating program with 
>> gui win32api. How can I add resource when use rdmd?
>
> No one knows how add resource .res file in rdmd?

Just pass the .res file before your .d source, like:

rdmd myresource.res main.d

Of course first you need to compile the .rc file with rc.exe 
program from the Visual Studio toolchain or windres.exe of Mingw.


More information about the Digitalmars-d-learn mailing list