Click here to Skip to main content
16,007,277 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOther Method??? Pin
Hendrik Kurniawan21-Apr-01 7:06
Hendrik Kurniawan21-Apr-01 7:06 
GeneralRe: Other Method??? Pin
Masaaki Onishi21-Apr-01 7:24
Masaaki Onishi21-Apr-01 7:24 
GeneralRe: Other Method??? Pin
Kannan Kalyanaraman22-Apr-01 1:45
Kannan Kalyanaraman22-Apr-01 1:45 
GeneralRe: I don't want to make Codeproject website slow... Pin
Masaaki Onishi22-Apr-01 4:14
Masaaki Onishi22-Apr-01 4:14 
GeneralDLL - statically linking code Pin
#realJSOP20-Apr-01 5:27
professional#realJSOP20-Apr-01 5:27 
GeneralRe: DLL - statically linking code Pin
Chris Losinger20-Apr-01 7:44
professionalChris Losinger20-Apr-01 7:44 
GeneralStructure posting Pin
yamini20-Apr-01 0:34
yamini20-Apr-01 0:34 
GeneralRe: Structure posting Pin
Jeff Naber20-Apr-01 8:43
Jeff Naber20-Apr-01 8:43 
Yamini,

It sounds like you are passing in a pointer to the structure properly, and some of the data is correct. But since the interface thread is still running, perhaps the values that were originally stored in the structure have been changed before you got a chance to read them? (Just a side note to be sure that you use a Critical Section or a Mutex to ensure that one thread is not writing new data to the structure at the same time the other is trying to read it.)

I'm assuming that you do cast the WPARAM back to the correct structure pointer when the message is received by the worker thread.

If checking on this stuff doesn't help, reply to the post, and I'll try to think of other reasons this may be happening.

Jeff

GeneralRe: Structure posting Pin
Jeff Naber23-Apr-01 5:14
Jeff Naber23-Apr-01 5:14 
GeneralRe: Structure posting Pin
Jeff Naber23-Apr-01 5:21
Jeff Naber23-Apr-01 5:21 
QuestionHow to get the handles of all child windows Pin
19-Apr-01 23:59
suss19-Apr-01 23:59 
Questionhow can I get the Kana mode of Japanese IME Pin
AlexMin19-Apr-01 16:07
AlexMin19-Apr-01 16:07 
AnswerRe: how can I get the Kana mode of Japanese IME Pin
Masaaki Onishi22-Apr-01 15:06
Masaaki Onishi22-Apr-01 15:06 
GeneralDate/Time problem. Pin
Henrik19-Apr-01 13:43
Henrik19-Apr-01 13:43 
GeneralTolTip Pin
Ghasrfakhri19-Apr-01 12:47
Ghasrfakhri19-Apr-01 12:47 
GeneralRe: TolTip Pin
Ahmad20-Apr-01 4:10
Ahmad20-Apr-01 4:10 
GeneralOpen Folder Browse Dialog Pin
Ghasrfakhri19-Apr-01 12:36
Ghasrfakhri19-Apr-01 12:36 
GeneralRe: Open Folder Browse Dialog Pin
Steve Driessens19-Apr-01 12:43
Steve Driessens19-Apr-01 12:43 
GeneralWhat Include File Pin
Ghasrfakhri20-Apr-01 2:43
Ghasrfakhri20-Apr-01 2:43 
GeneralRe: What Include File Pin
Steve Driessens20-Apr-01 3:27
Steve Driessens20-Apr-01 3:27 
GeneralAdd shlobj.h But... Pin
Ghasrfakhri20-Apr-01 3:40
Ghasrfakhri20-Apr-01 3:40 
GeneralI Use It But Pin
Ghasrfakhri20-Apr-01 5:03
Ghasrfakhri20-Apr-01 5:03 
GeneralRe: I Use It But Pin
Steve Driessens20-Apr-01 11:08
Steve Driessens20-Apr-01 11:08 
GeneralCreateProcess Function Pin
Ghasrfakhri19-Apr-01 12:31
Ghasrfakhri19-Apr-01 12:31 
GeneralRe: CreateProcess Function Pin
yamini19-Apr-01 21:32
yamini19-Apr-01 21:32 

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.