debug with changed source file  [SOLVED]

Questions about wxWidgets running on MS.NET, mono or Portable.NET ? Ask it here !
morya
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Dec 14, 2007 2:29 am
Location: Xuzhou, China
Contact:

debug with changed source file

Postby morya » Sun Jan 27, 2008 9:51 am

When I am using a wxString object;

Code: Select all

wxString s;
s = "abc";
s.Trim();

Then, I debuged to this line, the visual studio told me,
The source file is different with the one when the lib was made. Do you still want debug with this source file?
I don't think I have made any change to the source file %WXWIN%\src\common\string.cpp
What is going on with it?

morya
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Dec 14, 2007 2:29 am
Location: Xuzhou, China
Contact:

  [SOLVED]

Postby morya » Mon Jan 28, 2008 9:12 am

I found a solution,
I recompiled the source files, but the problem is still there.
When I check the compile logs, I found that the visual studio prompt that "The file string.cpp has some characters can not be read in code page 936, you should store it in UTF-8 format." something the same meaning.
I thought maybe the visual studio resaved the file automatically.
So I resaved it manually in cp936 code page.
And recompiled it.
The problem gone!


Return to “wx.NET”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest