Hello, im trying to pass data throw 2 PB Apps already ejecuting. I find DDE functions and im testing this:
PB APP 1 - APP SERVER
StartServerDDE (this,"MyPBApp","System")
PB APP 2 - APP CLIENT
long handle
handle=OpenChannel("MyPBApp","System")
//handle returning a large ramdom positive number
Now, how can i pass data between apps? That was only conection part.
Examples shows how to do it with Excel...
Thanks...
I alter my StartSeverDDE, using a 3th argument.
StartServerDDE ("app_b","app_b","is_param")
Now im able to use setremote
ll_handle = OpenChannel("app_b","app_b")
setremote("is_param","data from A", ll_handle) // Setremote return 1
But dont know how to catch the value in APP2 from App1. I suppose that is with a getdatadde, but in a button or in open event?
Thanks very much for u example.
BTW: If you would like a copy of my DDE demo App, please send me a PM and I can Zip it up for you. ;-)
Chris.Dot.Pollach.At.Appeon.Dot.com ... [edit accordingly]