logoalt Hacker News

rep_lodsb • 10/12/2024 • 1 reply • view on HN

That's linking to Microsoft's C library in order to use printf. But of course you could do the same thing using just kernel32.dll functions.


Replies

Dwedit • 10/13/2024

The minimal print function on Win32 is WriteFile, using GetStdHandle to get the file handle for STD_OUTPUT_HANDLE.