<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">
<div class="moz-cite-prefix">Here are a few links about msvcrt:</div>
<div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="https://support.microsoft.com/en-us/help/154753/description-of-the-default-c-and-c-libraries-that-a-program-will-link">https://support.microsoft.com/en-us/help/154753/description-of-the-default-c-and-c-libraries-that-a-program-will-link</a><br>
<a class="moz-txt-link-freetext" href="https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features?view=vs-2019">https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features?view=vs-2019</a><br>
<a class="moz-txt-link-freetext" href="https://docs.microsoft.com/en-us/cpp/windows/redistributing-visual-cpp-files?view=vs-2019">https://docs.microsoft.com/en-us/cpp/windows/redistributing-visual-cpp-files?view=vs-2019</a><br>
<a class="moz-txt-link-freetext" href="https://www.microsoft.com/en-us/download/details.aspx?id=48145">https://www.microsoft.com/en-us/download/details.aspx?id=48145</a></div>
<div class="moz-cite-prefix"><br>
</div>
</div>
<div class="moz-cite-prefix">I've tried to link to ucrt.lib from
Windows 10 SDK but I got this error<br>
</div>
<div class="moz-cite-prefix">
<pre>libusb.pas(359,0) Error: Invalid DLL C:\Program Files (x86)\Windows Kits\10\Lib\10.0.17134.0\ucrt\x64\ucrt.lib, Dos Header invalid</pre>
</div>
<div class="moz-cite-prefix">From
<a class="moz-txt-link-freetext" href="https://github.com/zeromq/libzmq/issues/2320">https://github.com/zeromq/libzmq/issues/2320</a> <br>
</div>
<div class="moz-cite-prefix">it seems that static libraries produced
by Microsoft tools cannot be used by the freepascal linker, <br>
</div>
<div class="moz-cite-prefix">so you need a static library produced
by mingw.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
</body>
</html>