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

Reply via email to