Recent

Author Topic: How can i get the output to my TMemo  (Read 2311 times)

Thausand

  • Sr. Member
  • ****
  • Posts: 389
Re: How can i get the output to my TMemo
« Reply #15 on: September 05, 2025, 05:59:14 am »
hello,
have a look here
The example project use TprocessEx  from processutils unit of the fpcupdeluxe project  and displays output in a Tmemo from a command line in RealTime.

Friendly, J.P
Hello Jurassic Pork,

That look interrest so I make look. I have download https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/v2.4.0f and look processutils then I confuse because not read TprocessEx inside.

Can please make verificate if I blind or TprocessEx no exist ? Thank you advance.


@mathias63

When have read link marcov then have good see memo write not same terminal write and make implement process write memo have emulate terminal. That is why write before no easy and see when have simple example work first. Memo string confuse output normal and need work (but see self first what and why).
« Last Edit: September 05, 2025, 06:30:50 am by Thausand »

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 1290
Re: How can i get the output to my TMemo
« Reply #16 on: September 05, 2025, 07:32:43 am »
That look interrest so I make look. I have download https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/v2.4.0f and look processutils then I confuse because not read TprocessEx inside.
Can please make verificate if I blind or TprocessEx no exist ? Thank you advance.
Hello Thausand,
it seems that TProcessEx class has gone from the processutils.pas  since April 2020. The last processutils.pas file with TProcessEx class is here
In my project, i use a processutils.pas older than this one (2018)
if you want to know the reason why TProcessEx has gone, ask the question to DonAlfredo in the forum ThirdParty/fpcupdeluxe
Friendly, J.P
« Last Edit: September 05, 2025, 07:39:20 am by Jurassic Pork »
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12523
  • FPC developer.
Re: How can i get the output to my TMemo
« Reply #17 on: September 05, 2025, 04:00:06 pm »
if you want to know the reason why TProcessEx has gone, ask the question to DonAlfredo in the forum ThirdParty/fpcupdeluxe

Probably it was no longer needed since 3.2.0 and later have an improved TProcess that can do similar things.

Thausand

  • Sr. Member
  • ****
  • Posts: 389
Re: How can i get the output to my TMemo
« Reply #18 on: September 05, 2025, 06:25:04 pm »
Hello Thausand,
it seems that TProcessEx class has gone from the processutils.pas  since April 2020. The last processutils.pas file with TProcessEx class is here
In my project, i use a processutils.pas older than this one (2018)
Ok, thank much for explain Jurassic Pork.

I get why is missing and me no blind is joy   :)

Quote
if you want to know the reason why TProcessEx has gone, ask the question to DonAlfredo in the forum ThirdParty/fpcupdeluxe
Not real important and know why. Program make evolve and change. I Think I try last version for improve/upgrade code then there nothing. Now I try with you attachment. Very many thank.

avra

  • Hero Member
  • *****
  • Posts: 2566
    • Additional info
Re: How can i get the output to my TMemo
« Reply #19 on: September 07, 2025, 04:06:35 pm »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

 

TinyPortal © 2005-2018