The XML is stored in a DOM (Document Object Model). Note the Binary Order Mark supression - the UTF8 Encoding set to false. IF you leave this out then a couple of non printable characters appear in position 1:1. It upsets soapclient no end!
Thanks John also about the point which you indicated. Hovewer this time application's all windows are maximised which is actually not much preferable. I guess you already have a better idea to fix
the problem. Let me know please.
It's allright Screen::GetBounds(this->ClientRectangle)
Suprisingly it didn't work well. The width of the forms just became a little smaller.That's all.
The application still has a screen size or resolution problem. I am really confused.
System::String ^ St = gcnew System::String("Hey ho!");
St = str; //This line won't work, but it's what I'd like to achieve
The only way I can make it work is by doing gcnew again St = gcnew System::String(str.c_str()); but I'm guessing this is not the right way. All the examples I have found tell how to do this when creating a new instance of System::String but none how to do it with an existing one.
am I not re-allocating memory without freeing it first?
It depends on the actual structure of your code. I think a more pertinent question would be: why are you using both std::string and System::String when you only really need one of them, probably the latter. For example code such as:
std::string str("Some string");
System::String ^ st = gcnew(str.c_str());
serves no real purpose, in that the std::string is totally redundant.
While I execute the program only boxes are displayed in place of the chinese characters. If I open the XML file in a browser, the chinese characters are displayed. What else to do to display the chinese language?
Last Visit: 31-Dec-99 18:00 Last Update: 1-Oct-23 0:01