Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


xml in MFC C++

etarvtetarvt Member Posts: 1

How to implement the logic in my MFC application project, which in C# looks like:

XmlSerializer ser = new XmlSerializer(typeof(REQUEST_GROUP));
StringBuilder sb = new StringBuilder();

XmlWriterSettings sett = new XmlWriterSettings();
sett.Indent = true;
sett.IndentChars = " ";

using (XmlWriter sw = XmlWriter.Create(sb, sett))
ser.Serialize(sw, gr);

Can someone help me?

Thanks in advance!
Sign In or Register to comment.