Reference to an unresolved external symbol
Injeckt
vinsentlou9 at gmail.com
Wed Sep 7 16:58:40 UTC 2022
On Wednesday, 7 September 2022 at 10:50:17 UTC, Dennis wrote:
> On Wednesday, 7 September 2022 at 10:14:22 UTC, Injeckt wrote:
>> I guess you right. But I don't know how i gonna link libs when
>> I'm using "dmd main.d".
>
> Another way is to add this to your code:
>
> ```D
> pragma(lib, "User32");
> ```
Oh thank you. I didn't knew that, I thought that it only works in
visual studio.
Comrades, I need to use inet_ntop() from Ws2tcpip.h, but how I
gonna include this header file to my code file?
More information about the Digitalmars-d-learn
mailing list