wrong character set?
I have a MFC dll project. When the dll is called, a dialog is poped
up.
CDialog_Dll::CDialog_Dll(CParameters *parmList, CWnd* pParent /
*=NULL*/)
: CDialog(CDialog_Dll::IDD, pParent)
{
m_parmList = parmList;
Create (IDD_DIALOG_MAIN,pParent);//Set break point 1 here
ShowWindow (SW_SHOW);//Set break point 2 here
}//Set break point 3 here
BOOL CDialog_Dll::OnInitDialog()
{
CDialog::OnInitDialog();
return true;//Set break point 4 here
}
All above works fine. CParameters is cumtomer class.
The problem is coming when I click a button called 'load':
void CDialog_Dll::OnBnClickedButtonLoad()
{
CFileDialog dlg(TRUE);//Set break point 5 here
...
}
I set 5 break points. And add m_parmList to watch window.
At break point 1 - 4, m_parmList show the RIGHT value:
+ m_parmList 0x000ee94c {m_XPMFile="C:\PROGRAM FILES\CoolInstrument
\MyInstr.xpm" m_Init_File="C:\PROGRAM FILES\CoolInstrument\DSD"
m_Measurement_Parameter_List="SNM=xxx
SFM=solid sample
NAM=probe a
PTH=C:\Program Files\CoolInstrument\Data
CIT=5.000000
NSS=1
TDL=47
BGA=0
BDT=1000
CTD=0
ACL=1
SCA=0
BGT=1
CSR=0
SSC=0
ACL=1
AEX=0
AFR=0
SRC=abc
OPF=100%
APT=12345
CLM=1
RES=1
SRG=1
GRT=1
GRN=abcde . CParameters *
But at break point 5, I got:
+ m_parmList 0x000ee94c {m_XPMFile="=C3=90=90=90=90=90=90=90=FF=FF=FF=FF"=
m_Init_File="=E9=B6OE=FE=FF=90=90=90=90=90h=B8" m_Measurement_Parameter_Li=
st="=0C" ...}
CParameters *
What is WRONG?
The dialog is simple - only 1 'load' button.
Is looks wrong character come back. But why it is correct at first 4
breakpoints?
Could anybody help me out? Thanks.