[fpc-pascal] Finding Port Addresses

2020-09-05 Thread James Richters via fpc-pascal
Does anyone know how I can use FreePascal to obtain all the installed Serial and Parallel Port addresses on Windows 10? I have a program that reads registry keys at HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM that I can then looks up the port name in HKEY_LOCAL_MACHINE\\System\CurrentContr

Re: [fpc-pascal] x86-linux-gnu cross

2020-09-05 Thread Jonas Maebe via fpc-pascal
On 01/09/2020 20:28, Adriaan van Os via fpc-pascal wrote: > Linking with other shared libs (maybe dependent on libgcc_so?) also > causes a segmentation fault on start. All the libs are from > . Are you using the -XR command line parameter to specify the Linux sysroot?

Re: [fpc-pascal] String literals and code page of .pas source file

2020-09-05 Thread Jonas Maebe via fpc-pascal
On 03/09/2020 07:19, LacaK via fpc-pascal wrote: > I would like to have source file in Windows-1250 encoding, where are > stored literal strings like 'áéíóčž' in Windows-1250 encoding (I share > this one file between FPC/Lazarus and Delphi 7). Windows-1250 is also > ANSI code page of my Windows OS.