Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to transfer file between windows and linux Pin
Stuart Dootson1-Apr-09 22:23
professionalStuart Dootson1-Apr-09 22:23 
Questionscaler deleting destructor Pin
Deepu Antony1-Apr-09 18:34
Deepu Antony1-Apr-09 18:34 
AnswerRe: scaler deleting destructor Pin
Maxwell Chen1-Apr-09 19:23
Maxwell Chen1-Apr-09 19:23 
GeneralRe: scaler deleting destructor Pin
Deepu Antony1-Apr-09 19:48
Deepu Antony1-Apr-09 19:48 
GeneralRe: scaler deleting destructor Pin
Maxwell Chen1-Apr-09 20:19
Maxwell Chen1-Apr-09 20:19 
QuestionlbuttonDown out of a mode window, witch message is spring? Pin
coderormnger1-Apr-09 16:35
coderormnger1-Apr-09 16:35 
AnswerRe: lbuttonDown out of a mode window, witch message is spring? Pin
Nishad S1-Apr-09 19:48
Nishad S1-Apr-09 19:48 
QuestionUsing 2 thread i receive a message " Access violation reading location 0x0000001c ". The cmd that generate the error is simply CString utilization... Pin
SNArruda1-Apr-09 13:02
SNArruda1-Apr-09 13:02 
Hi, someone can help with this ?

The objects composition are:

My user interface ... STProfissional ... Do_Start() ... Doing()
.....................
..................... STFabrica ....... STProducao ... STCelula ... STPacoteFabrica ... Move_()
.......................................
....................................... STLogistica ... STProjeto ... STPacoteCliente


Thread 1 = My user interface
Thread 2 = Worker thread started inside profissional (See code). (Blackground).

From STProfessional i would like to start Move_EntradaToBaseline() in STPacoteFabrica ...

My project is basicaly: Inside STFabrica, STProducao, STCelula, STPacoteFAbrica, STLogistica, STProjeto e STPacoteCliente i will make text files containing tasks informations and i put then into directories where a worker Thread (Thread 2) get it and manage it, openig it, reading the tasks informations e calling the apropriated function inside classes STFabrica, STProducao, STCelula, STPacoteFAbrica, STLogistica, STProjeto e STPacoteCliente that efectively do the task.

My Objects (Or classes if you prefer) are just a Set of CString object containing informations about directories, Names, Caracteristics,etc. Sametimes i use deque<cstring> for mantain necessary lists.

I receive the error when was did my first test that call Move_EntradaToBaseline()...(Thread 1, STPacoteFabrica.cpp) from Doing() (Thread 2, STProfessional.cpp) and the error happen.

I noted that, when i put a breakpoint in the line where the error heappen, Looking for variables content, they are invalid, with dirty content or invalid pointers ... I don´t now wy this heappen.

if someone needs i can send the code files ... I realy need help ... the approuch is essencial in my project.

Sorry by poor english, I´m brasiliam and student for this language ...
AnswerRe: Using 2 thread i receive a message " Access violation reading location 0x0000001c ". The cmd that generate the error is simply CString utilization... Pin
Stuart Dootson1-Apr-09 13:33
professionalStuart Dootson1-Apr-09 13:33 
GeneralRe: Using 2 thread i receive a message " Access violation reading location 0x0000001c ". The cmd that generate the error is simply CString utilization... Pin
SNArruda1-Apr-09 14:31
SNArruda1-Apr-09 14:31 
GeneralRe: Using 2 thread i receive a message " Access violation reading location 0x0000001c ". The cmd that generate the error is simply CString utilization... Pin
Stuart Dootson1-Apr-09 21:44
professionalStuart Dootson1-Apr-09 21:44 
AnswerRe: Using 2 thread i receive a message " Access violation reading location 0x0000001c ". The cmd that generate the error is simply CString utilization... Pin
ThatsAlok1-Apr-09 18:19
ThatsAlok1-Apr-09 18:19 
GeneralRe: Using 2 thread i receive a message " Access violation reading location 0x0000001c ". The cmd that generate the error is simply CString utilization... Pin
SNArruda2-Apr-09 14:30
SNArruda2-Apr-09 14:30 
QuestionHow can I use GetModify/SetModify within CRichEditView Pin
Joseph Marzbani1-Apr-09 11:36
Joseph Marzbani1-Apr-09 11:36 
AnswerRe: How can I use GetModify/SetModify within CRichEditView Pin
Rick York1-Apr-09 11:49
mveRick York1-Apr-09 11:49 
AnswerRe: How can I use GetModify/SetModify within CRichEditView Pin
Stuart Dootson1-Apr-09 11:57
professionalStuart Dootson1-Apr-09 11:57 
QuestionExtracting a string from a tab-delimited file Pin
SomeGuy6541-Apr-09 11:19
SomeGuy6541-Apr-09 11:19 
AnswerRe: Extracting a string from a tab-delimited file Pin
Stuart Dootson1-Apr-09 12:05
professionalStuart Dootson1-Apr-09 12:05 
GeneralRe: Extracting a string from a tab-delimited file Pin
SomeGuy6541-Apr-09 14:13
SomeGuy6541-Apr-09 14:13 
QuestionXML Visual Studio 2003 MFC C++ Pin
ScotDolan1-Apr-09 10:59
ScotDolan1-Apr-09 10:59 
AnswerRe: XML Visual Studio 2003 MFC C++ Pin
CPallini1-Apr-09 11:09
mveCPallini1-Apr-09 11:09 
AnswerRe: XML Visual Studio 2003 MFC C++ Pin
Stuart Dootson1-Apr-09 11:55
professionalStuart Dootson1-Apr-09 11:55 
Questionsafe-cast serialization Pin
Member 26037721-Apr-09 7:57
Member 26037721-Apr-09 7:57 
AnswerRe: safe-cast serialization Pin
CPallini1-Apr-09 8:09
mveCPallini1-Apr-09 8:09 
GeneralRe: safe-cast serialization Pin
Member 26037721-Apr-09 9:45
Member 26037721-Apr-09 9:45 

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.