Jump to content

Patrick vd P.

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by Patrick vd P.

  1. Hi, I'm testing some console code to run under Ubunu 22.04 (WSL2), but a very simple application only using WriteLn('Hello World!!'); doesn't seem to work when using the PAServer. There is no output on the Linux console. When I start the project directly from the scratch-dir it does work as desired, e.g. outputting "Hello World!!". I've done the following: In the WSL console I have installed the dev packages: sudo apt install libcurl4-gnutls-dev build-essential The copied/unpacked the PAServer V23.0 as per DocWiki. I have connected to the PAServer from Delphi and loaded the SDK. I do not see any errors. The application I use is very simple: program Test; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; begin try Writeln('Hello World!!'); ReadLn; except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end; end. Any suggestions on what I'm doing wrong?
  2. Patrick vd P.

    PAServer Linux (WSL2) Delphi 12.2 does not output to console

    Okay, I thought I have seen (probably very old) videos of output in the console (indeed the one running PAServer). But if that is not going to work, how will I be able to debug console applications which require input from the user?
×