Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / How to change data on 2 runing programs at same time?

Author
Message
Sagan
21
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 3rd Oct 2002 03:33
?????

want to change data at high freq, so hard disk files will not be a good solution...
and want to keap the clipboard free to...
and don't want to use the multiplayer fuctions to...

any other solution?
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 3rd Oct 2002 11:07
The way would be to send messages around (to the appropriate program), using the windows messaging system. Allocate a common aea of memory and you can pass data too.

Yes, I really am THAT good...
The One Ring
21
Years of Service
User Offline
Joined: 15th Sep 2002
Location: United States
Posted: 3rd Oct 2002 15:30
Yep... called a file-mapped object. You would have to write a DLL to call from DBP to create, send, and get values from the file-mapped memory pool.

It would be easier to use the multiplayer functions (probably)...

Login to post a reply

Server time is: 2024-03-29 01:42:10
Your offset time is: 2024-03-29 01:42:10