Moving on to Windows now and more basic problems. I've built from Python sources again but I'm not sure about static libraries on Windows. There is a .dll which is a dynamic library and .lib which I assume is the static library. Again I link using:
{$linklib python37.lib} But I get: "Error: Invalid DLL XXX/python37.lib, Dos header invalid". I see the compiler found the library but I may not have made the library correctly. How can I know if this .lib is what I think it is? Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal