RobSchultz
Programmer
I have 2 applications running on a single PC that need to pass information (i.e. variables) between themselves (preferrably within memory only). Here are the ideas I have had/tested:
1. Use SendMessage to populate a hidden text box. This seems a bit of a kludge.
2. Use a common dll. This doesn't seem to maintain data between the different applications that reference it. Perhaps there is a technique that will get around this problem.
3. There is also the possibility of using PropertyBag but because of the sensitive nature of the data I don't want to store anything on the hard-drive.
4. Use a common registry/ini/file storage area, but this also uses the hard-drive.
5. A COM client/server: a) i don't know how to do this b)seems a bit more trouble than its worth but, then again, I don't know how to do this![[wink] [wink] [wink]](/data/assets/smilies/wink.gif)
6. Solution XYZ that I haven't thought of yet that will solve this problem and bring about fulfillment of my karma.![[yinyang] [yinyang] [yinyang]](/data/assets/smilies/yinyang.gif)
Right now the app is storing the information in a common registry location in a barely encrypted format. I'd like to make the apps a bit more elegant.
TIA, Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-
1. Use SendMessage to populate a hidden text box. This seems a bit of a kludge.
2. Use a common dll. This doesn't seem to maintain data between the different applications that reference it. Perhaps there is a technique that will get around this problem.
3. There is also the possibility of using PropertyBag but because of the sensitive nature of the data I don't want to store anything on the hard-drive.
4. Use a common registry/ini/file storage area, but this also uses the hard-drive.
5. A COM client/server: a) i don't know how to do this b)seems a bit more trouble than its worth but, then again, I don't know how to do this
![[wink] [wink] [wink]](/data/assets/smilies/wink.gif)
6. Solution XYZ that I haven't thought of yet that will solve this problem and bring about fulfillment of my karma.
![[yinyang] [yinyang] [yinyang]](/data/assets/smilies/yinyang.gif)
Right now the app is storing the information in a common registry location in a barely encrypted format. I'd like to make the apps a bit more elegant.
TIA, Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-