Here are a few links about msvcrt:
https://support.microsoft.com/en-us/help/154753/description-of-the-default-c-and-c-libraries-that-a-program-will-link
https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features?view=vs-2019 https://docs.microsoft.com/en-us/cpp/windows/redistributing-visual-cpp-files?view=vs-2019 https://www.microsoft.com/en-us/download/details.aspx?id=48145 I've tried to link to ucrt.lib from
Windows 10 SDK but I got this error
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 it seems that static libraries produced
by Microsoft tools cannot be used by the freepascal linker,
so you need a static library produced
by mingw.
|
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal