Click here to Skip to main content
14,173,097 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
In C++, it it possible to pull static data from one system to another that has java output?

What I have tried:

Everything my novice brain can think of
Posted
Updated 9-May-19 21:34pm
Comments
Gerry Schmitz 9-May-19 19:30pm
   
If you're looking for a "common denominator", think of a "text file" that both can read or write, and go from there.

(there is no such thing as java "output" ... same as Benjamin expels. Expels "what"?)
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

If you mean "Can my C++ program access the memory of a Java application running on a different system?" then the answer is a major "NO!"
And you should be glad it is as the security ramifications would be horrendous ...

If that isn't what you are asking, you need to sit down and think a lot more carefully about exactly what you are trying to do, and ask us in a lot better detail!
   
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

You must transfer the data in some channel which both machines are understanding. A simple solution is to use some network connection like sockets or simply use some internet service like ftp server to share the data between them.

If both machines have access to a common network drive you can save a file on it.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190524.3 | Last Updated 10 May 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100