09-14-2022, 05:35 PM
(This post was last modified: 09-14-2022, 05:42 PM by r0n.
Edit Reason: edits
)
If run below sm_A... and it will output "test"
But now I remove the last line from 'sm_A...' -> sm_B_example and if I then compile both sm_A and sm_B to .exe and first run sm_A and after that sm_B then
nothing will be output. I guess this is because sm_B is not run within the same thread/session.
My question:
Is the above still possible?
2 seperate .exe, example: exe1.exe and exe2.exe
exe1 put's data in memory.
exe2 retrieves it.
EDIT:
There are other methods like clipboard or textfile but I was hoping there is another way for this without using the clipboard or a textfile.
My request is probably not possible due to security issues and such but I thought i'd ask anyway.
Macro sm_A_example
Function sm_B_example
But now I remove the last line from 'sm_A...' -> sm_B_example and if I then compile both sm_A and sm_B to .exe and first run sm_A and after that sm_B then
nothing will be output. I guess this is because sm_B is not run within the same thread/session.
My question:
Is the above still possible?
2 seperate .exe, example: exe1.exe and exe2.exe
exe1 put's data in memory.
exe2 retrieves it.
EDIT:
There are other methods like clipboard or textfile but I was hoping there is another way for this without using the clipboard or a textfile.
My request is probably not possible due to security issues and such but I thought i'd ask anyway.
Macro sm_A_example
__SharedMemory sm1
str r="TEST"
int dwMemSize=r.len+2
lpstr m=sm1.Create("Local\X1234" dwMemSize)
lstrcpyn m r dwMemSize
sm_B_example
Function sm_B_example