Skip to main content
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:27 AM UTC

Uniface 9: a question

a question

Author: spanish_uniface@hotmail.es (uniface8)

Hi all,
Is it possible to execute an uniface application inside of another uniface application?
I tried with an ocx, but i have not succeeded (yet).

Regards,Rafa.

14 replies

Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:27 AM UTC

a question

Author: spanish_uniface@hotmail.es (uniface8)

Hi all,
Is it possible to execute an uniface application inside of another uniface application?
I tried with an ocx, but i have not succeeded (yet).

Regards,Rafa.

Hi Uli,
In my mind i have the idea to create an external uniface application that can integrate two differents application without adding any codeline, using web application i think it´s possible, but in a client/server application i don´t find a solution.

The only solution that i find it´s adding some operations in all components to get and set the information.

My idea it´s make two applications, one it´s a test application, that shows variables, entities, status,... and maybe make some easy automatic test, and the other it´s the master that execute both applications and pass the necessary information.

It´s only an idea, but...

Rafa.


Author: uniface8 (spanish_uniface@hotmail.es)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:27 AM UTC

a question

Author: spanish_uniface@hotmail.es (uniface8)

Hi all,
Is it possible to execute an uniface application inside of another uniface application?
I tried with an ocx, but i have not succeeded (yet).

Regards,Rafa.

Hi Rafa,

what do you mean with "controls both"?

You can have 2 running uniface applications and a Master using IPC (inter process communication)
to send commands to the running applications what to do.

My favourite is the communication via HTTP:

- a listener in your uniface application(s) with differnt portnumbers to handle the requests.

- UHTTP for the messaging.

Uli

 


Author: ulrich-merkel (ulrichmerkel@web.de)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:27 AM UTC

a question

Author: spanish_uniface@hotmail.es (uniface8)

Hi all,
Is it possible to execute an uniface application inside of another uniface application?
I tried with an ocx, but i have not succeeded (yet).

Regards,Rafa.

Yes, with spawn or using the OS signature , I can start an uniface application from another one, but not inside.
Puff, I don´t know exactly; I´m thinking in an application that can execute two uniface application and integrate both in an master application, that controls both, without adding any codeline in children applications.

Regards,Rafa.


Author: uniface8 (spanish_uniface@hotmail.es)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:27 AM UTC

a question

Author: spanish_uniface@hotmail.es (uniface8)

Hi all,
Is it possible to execute an uniface application inside of another uniface application?
I tried with an ocx, but i have not succeeded (yet).

Regards,Rafa.

I can see starting a uniface application FROM another one (using spawn) but I'm not so sure about within another application.

What are you trying to achieve?


Author: Iain Sharp (i.sharp@pcisystems.co.uk)