PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → DDE
DDE
Iniciado por Inrag, 20,ene. 2015 12:31 - 4 respuestas
Miembro registrado
3 mensajes
Publicado el 20,enero 2015 - 12:31
Hi,

I'm looking for a solution with which I can let two Windev Applications communicate with each other.
I was hoping to solve this issue using the DDE functions Windev has implemented.

I just don't seem to be able to establish a connection between the two.

With DDEstart I can run the other Program but I don't know how the servername has to be defined in the DDEconnect().

Programm1: DDEreceiver
Programm2: DDEserver

Programm1 should access the server with the DDEConnect.

Has someone got a solution either with DDE or other forms of communication.
Publicado el 20,enero 2015 - 14:26
Bonjour

tu peux faire ce genre de chose avec un des moyens ci-dessous:
- partage de zone mémoire et lecture écriture dedans
- lecture écriture dans un fichier commun (HF, texte, etc)
- sockets
- communication via les messages de HF C/S
- ...

Cordialement


--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International

NOUVEAU: WXReplication, votre système de réplication open source est
disponible sur mon site web !!!
WXShowroom.com : Montrez vos projets !
Plus d'information sur http://fabriceharari.com


On 1/20/2015 6:31 AM, Inrag wrote:
Hi,

I'm looking for a solution with which I can let two Windev Applications
communicate with each other.
I was hoping to solve this issue using the DDE functions Windev has
implemented.

I just don't seem to be able to establish a connection between the two.

With DDEstart I can run the other Program but I don't know how the
servername has to be defined in the DDEconnect().

Programm1: DDEreceiver
Programm2: DDEserver

Programm1 should access the server with the DDEConnect.
Has someone got a solution either with DDE or other forms of communication.
Miembro registrado
3 mensajes
Publicado el 20,enero 2015 - 15:24
Bonjour,

thank you for the fast response. Since my french is limited I hope I understood what you suggested (and also will reply in english).
What I'm trying to do is split the monitoring of a technical plant from the visualisation.
The monitoring will run as a Windows service.

Since there will be quite an amount of information sent back and forth I need a memory based soultion. Text and Database communication might be to slow.

Socket could work. Just thought it might be better to split the internal communication (service <-> visualiaston application) from the external communication (service <-> plant).
Publicado el 20,enero 2015 - 16:11
Real sorry about the answer in French... I don't know what I was
thinking :-(

thank you for the fast response. Since my french is limited I hope I
understood what you suggested (and also will reply in english).
What I'm trying to do is split the monitoring of a technical plant from
the visualisation.
The monitoring will run as a Windows service.


So, if both programs are on the same machine, you can share a memory
zone between the two (there is a function for that in wlanguage)

Otherwise, sockets are a solution...

best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

NEW: WXReplication, your open source replication system is available on
my web site!!!
WXShowroom.com: Show your projects!
More information on http://www.fabriceharari.com


Since there will be quite an amount of information sent back and forth I
need a memory based soultion. Text and Database communication might be
to slow.

Socket could work. Just thought it might be better to split the internal
communication (service <-> visualiaston application) from the external
communication (service <-> plant).
Miembro registrado
3 mensajes
Publicado el 20,enero 2015 - 16:29
No Problem I understood most of it and translate.google did the rest.

Shared memory zone looks like exactly what I need.
Thanks a lot for your help.

Best regards!