Hi Edward,
I'm trying to scan the existing connections. As i can see in the
TForm1.btnLoadExistingClick(Sender: TObject) method, you used 'TProcess'
for running external applications. In C this must be replaced by the
'system' command.
Now i'm looking at the TProcess options. For example:
Proc.Executable := 'cat';
Proc.Parameters.Add('/etc/network/interfaces');
Proc.Options := [poUsePipes, poWaitOnExit];
Proc.Execute;
Here are the definitions:
http://olympiad.cs.uct.ac.za/docs/fpc-2.4.4/fcl/process/tprocess.options.html
Cheers,
Aitor.
On 12/04/2015 01:00 PM, Edward Bartolo <edbarx@???> wrote:
> Hi Aitor,
>
> I succeeded to run my trial gtk3 application with events without
> errors. I always wanted to learn coding GUI applications for Linux in
> C/C++. This can be a good exercise.
>
> Edward
>
>
> On 02/12/2015, aitor_czr<aitor_czr@???> wrote:
>> >Woow !!
>> >
>> >On 02/12/15 12:08, Edward Bartolo wrote:
>>> >>priv = (Private*) g_malloc (sizeof (struct _Private));