Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,791 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Sharing variables between separate running applications #420085
03/19/13 15:25
03/19/13 15:25
Joined: Dec 2006
Posts: 11
C
codewriter Offline OP
Newbie
codewriter  Offline OP
Newbie
C

Joined: Dec 2006
Posts: 11
Is there a way in the free version to share variables between two running applications. I have one space application that is graphics intensive and I want to have a second app running on a second touch screen monitor that will display game variables on gauges and allow touch control of switchs. I see that component object models are supported but I can find no examples. Currently I am trying to pass variables between apps via USB serial. Thank.

Re: Sharing variables between separate running applications [Re: codewriter] #420088
03/19/13 15:44
03/19/13 15:44
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Get the pointer of your variable, open the process via OpenProcess (API) and use WriteProcessMemory to write to the variable. If the address is not static make a sginature scan of it, (byte patterns are used, "x" for static, "?" for dynamic)

Re: Sharing variables between separate running applications [Re: Ch40zzC0d3r] #420100
03/19/13 17:44
03/19/13 17:44
Joined: Dec 2006
Posts: 11
C
codewriter Offline OP
Newbie
codewriter  Offline OP
Newbie
C

Joined: Dec 2006
Posts: 11
Thank you.
I cannot find a OpenProcess function in lite-c. Are you referring to the
windows api. Since both of my application are written and running lite-c I would like to use a engine function instead of a windows call. I have tried passing address in visual studio but get writing outside of boundary errors.

Re: Sharing variables between separate running applications [Re: codewriter] #420110
03/19/13 19:00
03/19/13 19:00
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
You can use the windows api in Lite-C.


no science involved

Moderated by  George 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1