Console and FORM GUI at the same time! ? lazarus / 39-Graphics ---------------------------------------------------------------------- pascalbythree · 2023-08-17 13:35 Does anybody know, if it is possible in lazarus to keep your command line window open and writeln to it. At the same time i need to create a form by code, and see visualizations draw on a TImage on the form At the same time I am compiling in the command line in Lazarus 2.0.10 FPC 3.2.0 on a Raspberry ZERO Anybody got URL or example code ? Attached a photo of my project so far ! Great Thanks! ---------------------------------------------------------------------- TRon · 2023-08-17 13:40 Quote from: pascalbythree on August 17, 2023, 03:35:39 pmDoes anybody know, if it is possible in lazarus to keep your command line window open and writeln to it. Yeah, just start your application from your terminal window. Try it for example with lazarus itself and it will output some debug messages. btw: QuoteI am compiling in the command line in Lazarus 2.0.10 FPC 3.2.0 on a Raspberry ZERO That is really stretching it. If you need to rebuild lazarus itself you will run out of memory (requires > 1024 MB almost 2048 MB these days) and yes you can swap but that will be slow as f*ck. ---------------------------------------------------------------------- pascalbythree · 2023-08-17 17:04 First question did already start to work ! but now: Anybody knows a faster TImage replacement ? in ASM or so ? ---------------------------------------------------------------------- Dzandaa · 2023-08-17 17:14 Hi, Have you tried BGRABitmap? B-> ---------------------------------------------------------------------- pascalbythree · 2023-08-17 17:47 To heavy Anybody got something very light? ---------------------------------------------------------------------- KodeZwerg · 2023-08-17 17:59 Quote from: pascalbythree on August 17, 2023, 07:47:20 pmTo heavy Anybody got something very light? Use Controls/Forms Canvas and draw however you like. ---------------------------------------------------------------------- funlw65 · 2023-08-21 22:05 Quote from: pascalbythree on August 17, 2023, 07:47:20 pmTo heavy Anybody got something very light? raylib+reygui? Another option would be the framebuffer from console (e.g., the way mplayer works using fbdev2 ), but I don't know what is the freepascal support for that...