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 / question about sharing memory between programs

Author
Message
Kezzla
17
Years of Service
User Offline
Joined: 21st Aug 2008
Location: Where beer does flow and men chunder
Posted: 5th Apr 2012 15:25
Hi, Im playing with Matrix1 utilities 4 commands and I'm a bit new to this stuff.

what I'm trying to do is assign memory in one application and then access it from another exe running simultaneously (curious about using multiple cores to handle different resource heavy tasks)

i've got the following code to attempt this

master


echo.exe


so if i enter the memory address into the second program then i should get the data from the address right?
Am I understanding this right?
when I alter stuff from within the one exe it all works ok.

when I use the two exe's then it returns a value of zero.

what am i doing wrong?
thankyou
kezzla

Sometimes I like to use words out of contents
Scraggle
Moderator
23
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 5th Apr 2012 18:22
No sure if this helps but there is some good info in this thread.

Kezzla
17
Years of Service
User Offline
Joined: 21st Aug 2008
Location: Where beer does flow and men chunder
Posted: 6th Apr 2012 04:58
thankyou Scraggle, that is exactly what I needed.
I have got it working now.

thanks again.

Sometimes I like to use words out of contents

Login to post a reply

Server time is: 2026-07-10 10:21:01
Your offset time is: 2026-07-10 10:21:01