Serial port component for lazarus logo

broken image

Now I have problems with USB attached serial ports and lazarus programs using SdpoSerial as described in this thread. This can be 'ifdef out' with a little bit more effort.Michael - Lazarus mailing list.

broken image

It transforms out that the culprit is enabling UI Accessibility in Task Options Program For Windows a UI Gain access to. This solution enables to create a even more homogeneous program program code since based on the OS, only the adjustable name has to become changed. locate the header definitions that are not necessary and 'ifdef out' - locate the unit definitions that are not necessary and 'ifdef out' - now supposedly you can remove some files - now there might be stuff that gets compiled because the code 'might' use it, but from your project you do know that it will not happen. Serial Port Component For Lazarus Log Code Since Based. I would do that with Delphi: - create a simple working example - so you know which files are necessary (you say some 50%) - look what active code gets actually lines get compiled in and 'ifdef out' the code sequences that are not compiled. But I suppose you can delete some 90% of the code lines to get a working basic package. Of course this is not doable just on a file base.

broken image

On 08:47 PM, Bo Berglund wrote: After a while I gave up because it looked like I would need more than 50% of the original files or maybe even all of them.:-( So it is not really possible to isolate just the port.

broken image