Howdy, Stranger!

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

Categories

xml in MFC C++

etarvtetarvt Member Posts: 1
Hi,

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.