Click here to Skip to main content
15,888,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have made an 1.exe file which takes two numbers as input. The output is the sum of the two numbers. I also have another 2.exe file which uses this sum and performs a multiplication operation and gives the output.

I wanted to send the output data of 1.exe to an xml file and retrieve the same data into 2.exe file. How can i write into and read from an xml file? Kindly help me with an example using MSXML headerfile at the earliest.

Looking forward for the solution. Thanks in advance.
Posted

What about reading the documentation[^]?
 
Share this answer
 
Comments
Lakshadeep 5-Dec-13 6:41am    
I have added the header file into my project but I have problem with using and implementing it. as i don't have xml background its getting difficult to understand. i would like to get a sample example so that i can understand the program better..
CPallini 5-Dec-13 6:46am    
You might also have a look at CodeProject articles on MSXML:
http://www.codeproject.com/search.aspx?q=MSXML+C%2B%2B&x=8&y=7&sbo=kw&usfc=false
You can do it by using web service for communicating between applications.
 
Share this answer
 
Comments
Lakshadeep 5-Dec-13 7:12am    
how do i exactly go about it??
udayams 5-Dec-13 7:21am    
use this link http://www.youtube.com/watch?v=GuGrTm350s4.

http://www.youtube.com/watch?v=XmaJpnGyxFk.

These are videos i hope this will give you some ideas about web service and you can pass the value from one application using web servive to second application and in second application you can take the value from web service. This is one of the very important concept in programming. Or you can simply write and read the value from xml file. Use this to write and read from xml
http://www.youtube.com/watch?v=NXGE5XUrRSI
http://www.youtube.com/watch?v=L2f0z0zfIEI

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900