Petr Schreiber
13-04-2008, 14:54
Hi,
I think Mike some time ago noted that he would like to see way two thinBASIC processes can communicate.
Here is dummy way using WM_COPYDATA message and hidden label.
Simply run two attached proggies and they will chat together :)
Trick is that from WM_COPYDATA you can extract handle of dialog which broadcasted it.
I know this sample is not the best one, and that WM_COPYDATA can have its own information "inside", but the way I did it it works too ;D
Petr
I think Mike some time ago noted that he would like to see way two thinBASIC processes can communicate.
Here is dummy way using WM_COPYDATA message and hidden label.
Simply run two attached proggies and they will chat together :)
Trick is that from WM_COPYDATA you can extract handle of dialog which broadcasted it.
I know this sample is not the best one, and that WM_COPYDATA can have its own information "inside", but the way I did it it works too ;D
Petr