Click here to Skip to main content
16,006,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Access Violation on GlobalAlloc() Pin
Paul M Watt22-Oct-02 12:58
mentorPaul M Watt22-Oct-02 12:58 
GeneralRe: Access Violation on GlobalAlloc() Pin
Alexinuk22-Oct-02 22:23
Alexinuk22-Oct-02 22:23 
GeneralRe: Access Violation on GlobalAlloc() -helphelphelphelp! Pin
Alexinuk23-Oct-02 22:04
Alexinuk23-Oct-02 22:04 
GeneralProblem with ADO and MySQL Pin
Bash21-Oct-02 21:48
Bash21-Oct-02 21:48 
GeneralRe: Problem with ADO and MySQL Pin
Vagif Abilov22-Oct-02 0:03
professionalVagif Abilov22-Oct-02 0:03 
GeneralThreads and Messages Pin
Shroom21-Oct-02 21:40
Shroom21-Oct-02 21:40 
GeneralRe: Threads and Messages Pin
Joaquín M López Muñoz21-Oct-02 22:06
Joaquín M López Muñoz21-Oct-02 22:06 
GeneralRe: Threads and Messages Pin
Steen Krogsgaard21-Oct-02 23:34
Steen Krogsgaard21-Oct-02 23:34 
Are you sure about that? When you SendMessage you call the WndProc directly, bypassing the pump. So SendMessage would be in the context of the worker thread, while PostMessage would be in the context of the main thread (which runs the message pump). This is also the way COM handles a call to a STA component (by posting messages instead of calling the components interfaces directly).

Of course, I may be wrong Wink | ;-)



Cheers
Steen.

"To claim that computer games influence children is ridiculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
GeneralRe: Threads and Messages Pin
Joaquín M López Muñoz21-Oct-02 23:45
Joaquín M López Muñoz21-Oct-02 23:45 
GeneralRe: Threads and Messages Pin
Steen Krogsgaard21-Oct-02 23:55
Steen Krogsgaard21-Oct-02 23:55 
GeneralRe: Threads and Messages Pin
Joaquín M López Muñoz22-Oct-02 0:19
Joaquín M López Muñoz22-Oct-02 0:19 
GeneralRe: Threads and Messages Pin
Hans Ruck22-Oct-02 0:36
Hans Ruck22-Oct-02 0:36 
GeneralRe: Threads and Messages Pin
Joaquín M López Muñoz22-Oct-02 0:39
Joaquín M López Muñoz22-Oct-02 0:39 
GeneralRe: Threads and Messages Pin
Hans Ruck22-Oct-02 1:01
Hans Ruck22-Oct-02 1:01 
GeneralRe: Threads and Messages Pin
Steen Krogsgaard22-Oct-02 1:40
Steen Krogsgaard22-Oct-02 1:40 
GeneralRe: Threads and Messages Pin
Zdenek Navratil21-Oct-02 23:06
Zdenek Navratil21-Oct-02 23:06 
GeneralRe: Threads and Messages Pin
Neville Franks21-Oct-02 23:32
Neville Franks21-Oct-02 23:32 
GeneralCHtmlView Pin
alex.barylski21-Oct-02 21:08
alex.barylski21-Oct-02 21:08 
GeneralJpeg Pin
Kristian3321-Oct-02 20:42
Kristian3321-Oct-02 20:42 
GeneralRe: Jpeg Pin
Stephane Rodriguez.21-Oct-02 20:46
Stephane Rodriguez.21-Oct-02 20:46 
GeneralRe: Jpeg Pin
Christian Graus21-Oct-02 20:47
protectorChristian Graus21-Oct-02 20:47 
GeneralRe: Jpeg Pin
Christian Graus21-Oct-02 20:47
protectorChristian Graus21-Oct-02 20:47 
GeneralRe: Jpeg Pin
Daniel Turini21-Oct-02 22:04
Daniel Turini21-Oct-02 22:04 
GeneralASSERT in afxwin2.inl, Line 120, Please HELP! Pin
Daniel Strigl21-Oct-02 20:23
Daniel Strigl21-Oct-02 20:23 
GeneralRe: ASSERT in afxwin2.inl, Line 120, Please HELP! Pin
Joaquín M López Muñoz21-Oct-02 20:49
Joaquín M López Muñoz21-Oct-02 20:49 

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.