Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by JeyKey II. 11/25/26 09:53
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (AndrewAMD, Grant, Quad, TipmyPip, JeyKey II), 7,448 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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