Hello, i have 2 applications, one version 1.2(i can't change the code here) and the upgrade for it is version 2.0. both can open the same .xml file, are there some changes that can make to crash the program of version 1.2 and to use the the .xml file in version 2.0.
So i do the following thing:
1.i can open the .xml file in version 1.2
2.i can open the same .xml file in version 2.0
3.if i save the .xml file in version 2.0(tags are added to the .xml file) when i save a message appears to inform me that the .xml file cannot be open in version 1.2
4.now if i open it in version 1.2 the file can open and if i save the modification made by 2.0 will be deleted.
5.how can i crash the version 1.2 when I open the .xml file saved from version 2.0
one solution i thought about is to change a type from the project, if a variable is int and i change it to string the version 1.2 will give a message bad .xml file, and in version 2.0 it will open because of the same type in .xml and in the project.
are there any other solutions?
Thanks,
Sas Gabriel