Click here to Skip to main content
15,793,547 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDocumentProperties() cause a First-chance exception Pin
Drugodrf7-May-14 8:17
Drugodrf7-May-14 8:17 
QuestionRe: DocumentProperties() cause a First-chance exception Pin
Richard MacCutchan7-May-14 23:06
mveRichard MacCutchan7-May-14 23:06 
AnswerRe: DocumentProperties() cause a First-chance exception Pin
Drugodrf8-May-14 0:13
Drugodrf8-May-14 0:13 
GeneralRe: DocumentProperties() cause a First-chance exception Pin
Richard MacCutchan8-May-14 0:21
mveRichard MacCutchan8-May-14 0:21 
GeneralRe: DocumentProperties() cause a First-chance exception Pin
Drugodrf9-May-14 3:04
Drugodrf9-May-14 3:04 
GeneralRe: DocumentProperties() cause a First-chance exception Pin
Richard MacCutchan9-May-14 3:19
mveRichard MacCutchan9-May-14 3:19 
GeneralRe: DocumentProperties() cause a First-chance exception Pin
Drugodrf9-May-14 4:03
Drugodrf9-May-14 4:03 
QuestionSendMessageCallback() - what is execution context of callback function Pin
Derell Licht7-May-14 8:07
professionalDerell Licht7-May-14 8:07 
I have a technique that I use in WinAPI programs, to avoid stalling the message queue.

I start a separate thread in my program, which opens a hidden window with its own message queue. I typically call this thread the CommTask thread, since the first time I did this was to handle slow serial communications. When I want to perform a time-consuming task, I send a message to the CommTask thread using SendMessageCallback(), with a data packet telling it what to do.

When the CommTask thread completes handling of my message, my callback function gets executed.
What I don't know is, what thread is the callback function executing in?? Is it still in the CommTask thread, or has it somehow returned to my main program thread, or is there some other thread context that it executes in?
AnswerRe: SendMessageCallback() - what is execution context of callback function Pin
CPallini8-May-14 1:04
mveCPallini8-May-14 1:04 
GeneralRe: SendMessageCallback() - what is execution context of callback function Pin
Derell Licht8-May-14 6:02
professionalDerell Licht8-May-14 6:02 
QuestionCompiling C and C++ files together Pin
AmbiguousName7-May-14 7:59
AmbiguousName7-May-14 7:59 
AnswerRe: Compiling C and C++ files together Pin
Richard MacCutchan7-May-14 8:15
mveRichard MacCutchan7-May-14 8:15 
AnswerRe: Compiling C and C++ files together Pin
leon de boer15-May-14 5:44
leon de boer15-May-14 5:44 
QuestionWSACleanup delays when called how can I get around this? Pin
Member 43367557-May-14 7:18
Member 43367557-May-14 7:18 
AnswerRe: WSACleanup delays when called how can I get around this? Pin
Gisle Vanem9-May-14 0:30
Gisle Vanem9-May-14 0:30 
GeneralRe: WSACleanup delays when called how can I get around this? Pin
Member 433675510-May-14 6:50
Member 433675510-May-14 6:50 
QuestionMCI QUESTION!!! Is it different file extension name and codec? Pin
AmissU6-May-14 22:00
AmissU6-May-14 22:00 
QuestionCompiling VLC in Visual Studio 2013 Pin
Django_Untaken5-May-14 6:32
Django_Untaken5-May-14 6:32 
AnswerRe: Compiling VLC in Visual Studio 2013 Pin
leon de boer5-May-14 8:10
leon de boer5-May-14 8:10 
AnswerRe: Compiling VLC in Visual Studio 2013 Pin
Richard MacCutchan5-May-14 21:18
mveRichard MacCutchan5-May-14 21:18 
Questiongood algorithm to determine if there are overlapping in multiple rectangles Pin
Falconapollo3-May-14 20:46
Falconapollo3-May-14 20:46 
AnswerRe: good algorithm to determine if there are overlapping in multiple rectangles Pin
Software_Developer3-May-14 21:52
Software_Developer3-May-14 21:52 
AnswerRe: good algorithm to determine if there are overlapping in multiple rectangles Pin
CPallini5-May-14 0:09
mveCPallini5-May-14 0:09 
GeneralRe: good algorithm to determine if there are overlapping in multiple rectangles Pin
leon de boer5-May-14 3:29
leon de boer5-May-14 3:29 
QuestionTo fix the first column of CListView grid type control in MFC Pin
sma123#2-May-14 8:35
sma123#2-May-14 8:35 

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.