How to convert this C++ code to Dlang? Please send me Dlang version of this C++ code
Marcone
marcone at email.com
Mon Jan 27 13:47:56 UTC 2020
On Monday, 27 January 2020 at 13:41:13 UTC, Ferhat Kurtulmuş
wrote:
> On Monday, 27 January 2020 at 13:24:03 UTC, Marcone wrote:
>> On Monday, 27 January 2020 at 13:07:20 UTC, rumbu wrote:
>>> [...]
>>
>> Thank you very much! But I have this error when I try to
>> compile:
>>
>> Error 42: Symbol Undefined _InitCommonControls at 0
>> Error: linker exited with status 1
>>
>> I am using Resedit.exe for create dialog resource and compiled
>> .rc to .res for link.
>
> probably, you need to link your exec with comctl32.lib
Very good!! Working fine adding:
pragma(lib, "comctl32.lib");
More information about the Digitalmars-d-learn
mailing list