|
-
July 6th, 2018, 02:46 AM
#6
Re: access violation reading location 0x00000000
 Originally Posted by Ramdhyani
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.
1. What is ts?
2. What is _this?
3. Are you trying to access the IDC_EDIT3 control from within a worker thread? It appears to be a wrong design. Please, check out this great Joe Newcomer's essay: Using Worker Threads
Victor Nijegorodov
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|