5dpo: tries to open /dev/ttyUSB0 instead of COM1 lazarus / 34-Windows ---------------------------------------------------------------------- MadMike · 2014-01-29 15:42 Hi, Windows 7 Trying to use the serial port. After reading various threads on this site, I compiled / installed Sdposerial. Running the test program I get an error 'could not open device dev/ttyUSB0' (Linux?). Thinking I needed synaser, (listed under 'uses') I compiled and added that to the project (there were warnings of a duplicate file if I were to install it). No difference. I looked through the source files looking for an erronous IFDEF section to no avail. As a complete noobie, I realise I don't know what the heck I'm doing, so any help or comments at all would be very much appreciated! ---------------------------------------------------------------------- Laksen · 2014-01-29 21:06 Do you compile in some weird mode? TP, Macpas, og objective-pascal or something like that? ---------------------------------------------------------------------- Jurassic Pork · 2014-01-29 22:37 hello, have you tried Tlazserial component ? Friendly, J.P ---------------------------------------------------------------------- Paul Breneman · 2014-01-29 22:51 There is a Lazarus program here that uses Synapse (and SynaSer): http://ctrlterm.com/ports.htm ---------------------------------------------------------------------- MadMike · 2014-02-19 18:05 Panic over. It was all me. I changed the relevent property in the object inspector to 'COM1'. Compiles and runs ok now. Thanks anyway