How add resource.res in RDMD

Marcone marcone at email.com
Mon Feb 3 11:30:26 UTC 2020


On Monday, 3 February 2020 at 05:11:30 UTC, Boris Carvajal wrote:
> 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.

Working very well. Thank you!


More information about the Digitalmars-d-learn mailing list