Cant you allocate variables specific memory adresses? That way your second app could just edit the adress from a pointer?
Cant you allocate variables specific memory adresses? That way your second app could just edit the adress from a pointer?
Code:Error W8057 C:\\Life.cpp: Invalid number of arguments in function run(Brain *)
No because of two reasons:
1) We can't specify the address by ourselves at this level.
2) Windows protects apps memory from being written by anothers.
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C
I dont want to use windows. I just want to get rid of it's protection.
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C
Since I been mostly doing distributed programming.
I know that if you use CORBA , it'll work exactly the way you want, but CORBA is usually used for distributed programming, so if you're using it for your case, it might be a little overkill for your case.
oh, you can also try looking into Adaptive Communication Environment, it has a nice set of tools that you can use for share memory. That's what I use on Solaris for using share memory. ACE is also ported to Windows also, so you can use it on Windows platform.
-dc
Then use MS-DOS 6.X! or write your own operating system. Or learn to live within the constraints of the hardware and os you are using.Originally Posted by siavoshkc
>>learn to live within the constraints of the hardware and os you are using.
This is exactly what I like to do.
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C