Remove CRT (C's runtime) from betterC binaries?
Rel
relmail at rambler.ru
Wed Aug 15 06:16:20 UTC 2018
> printf() and exit() are part of the CRT.
Well, yes, but there is implementation for them in msvcrt.dll,
which is installed on all Windows platforms. So I can link to it
and use it for free, without adding the whole CRT to my
executable. Otherwise I could use MessageBox and ExitProcess for
testing hello-world application, which reside in user32.dll and
kernel32.dll respectively.
More information about the Digitalmars-d
mailing list