Shared Variables between 2 APL WS
3 posts
• Page 1 of 1
Shared Variables between 2 APL WS
Is it possible for 2 APL applications running on the same Windows computer to have shared variables that will be common to both applications (like a common namespace) ? If not how to have 2 APL applications talk to each other ?
Thanks in advance,
Thanks in advance,
-
PGilbert - Posts: 436
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
Re: Shared Variables between 2 APL WS
Hi Pierre!
I believe DDE-based shared variables still work, but I would not recommend DDE at this point in time. Depending on what kind of "talking" you need to do, I think you should look at memory-mapped files (⎕MAP) or CONGA to send TCP messages between APL processes.
Depending on your application architecture you could also use isolates; if one process starts an isolate it appears as a namespace in the parent process, and you can optionally set things up so the isolate can refer to the parent workspace as ##.
Morten
I believe DDE-based shared variables still work, but I would not recommend DDE at this point in time. Depending on what kind of "talking" you need to do, I think you should look at memory-mapped files (⎕MAP) or CONGA to send TCP messages between APL processes.
Depending on your application architecture you could also use isolates; if one process starts an isolate it appears as a namespace in the parent process, and you can optionally set things up so the isolate can refer to the parent workspace as ##.
Morten
-
Morten|Dyalog - Posts: 453
- Joined: Tue Sep 09, 2008 3:52 pm
Re: Shared Variables between 2 APL WS
Thanks Morten, this is answering my question.
-
PGilbert - Posts: 436
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group