Click here to Skip to main content
15,886,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFtpConnection::PutFile with blank characters Pin
Ray Manyik19-May-06 6:07
Ray Manyik19-May-06 6:07 
GeneralRe: CFtpConnection::PutFile with blank characters Pin
Ganesh_T19-May-06 18:27
Ganesh_T19-May-06 18:27 
GeneralRe: CFtpConnection::PutFile with blank characters Pin
Ray Manyik22-May-06 5:41
Ray Manyik22-May-06 5:41 
GeneralRe: CFtpConnection::PutFile with blank characters Pin
Ray Manyik23-May-06 7:23
Ray Manyik23-May-06 7:23 
Questionfunctions and arrays Pin
pp94418-May-06 12:44
pp94418-May-06 12:44 
AnswerRe: functions and arrays Pin
Stephen Hewitt18-May-06 13:47
Stephen Hewitt18-May-06 13:47 
Questionhowto parallel port Pin
mahmoud_bagheri18-May-06 12:22
mahmoud_bagheri18-May-06 12:22 
QuestionObjects and threads Pin
masnu18-May-06 11:00
masnu18-May-06 11:00 
I am trying to update my CViews related to my CDocument. In order for the program to remain resposive as data is read from a file, I need to start a seperate thread to do the reading and updates. The problem I am running into, as I understand it, is that I cannot use C++ objects in this thread. The code I have is:

	<br />
while (m_bRunThread)<br />
{<br />
//Read file and update buffers....<br />
     <br />
this->UpdateAllViews(NULL);  //ERROR HERE<br />
}


Is there a way to accomplish what I want to do?

Thanks.
QuestionRe: Objects and threads Pin
David Crow18-May-06 11:03
David Crow18-May-06 11:03 
AnswerRe: Objects and threads Pin
Chris Losinger18-May-06 11:04
professionalChris Losinger18-May-06 11:04 
AnswerRe: Objects and threads Pin
led mike18-May-06 11:18
led mike18-May-06 11:18 
AnswerRe: Objects and threads Pin
Peter Weyzen18-May-06 12:20
Peter Weyzen18-May-06 12:20 
Questionseperating items Pin
Sam 200618-May-06 10:55
Sam 200618-May-06 10:55 
QuestionRe: seperating items Pin
David Crow18-May-06 11:01
David Crow18-May-06 11:01 
AnswerRe: seperating items Pin
Sam 200618-May-06 12:45
Sam 200618-May-06 12:45 
AnswerRe: seperating items Pin
Peter Weyzen18-May-06 12:21
Peter Weyzen18-May-06 12:21 
AnswerRe: seperating items Pin
ThatsAlok18-May-06 19:39
ThatsAlok18-May-06 19:39 
Questionhow to display text in a combo box edit control Pin
elephantstar18-May-06 10:20
elephantstar18-May-06 10:20 
AnswerRe: how to display text in a combo box edit control Pin
Chris Losinger18-May-06 10:31
professionalChris Losinger18-May-06 10:31 
GeneralRe: how to display text in a combo box edit control Pin
elephantstar18-May-06 11:02
elephantstar18-May-06 11:02 
AnswerRe: how to display text in a combo box edit control Pin
Andy Rama19-May-06 3:04
Andy Rama19-May-06 3:04 
GeneralRe: how to display text in a combo box edit control Pin
elephantstar23-May-06 11:45
elephantstar23-May-06 11:45 
QuestionMemory leak issue Pin
Chris Corben18-May-06 8:55
Chris Corben18-May-06 8:55 
AnswerRe: Memory leak issue Pin
Chris Meech18-May-06 9:11
Chris Meech18-May-06 9:11 
GeneralRe: Memory leak issue Pin
Chris Corben18-May-06 12:08
Chris Corben18-May-06 12:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.