hello..
i am running a thread.but when i try to print anything edit box using the line
aa.Format("%d",i);
ts->_this->GetDlgItem(IDC_EDIT3)->SetWindowText(aa);//run time error occurs here.

my code is compilation error free.but i get an error when i run it as
access violation reading location 0x00000000

plz help.