Click here to Skip to main content
15,914,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to detect a variable change in MFC Pin
Stefan_Lang26-Apr-11 1:24
Stefan_Lang26-Apr-11 1:24 
QuestionWriting a Questionnaire using C++ Pin
Member 786165621-Apr-11 3:18
Member 786165621-Apr-11 3:18 
AnswerRe: Writing a Questionnaire using C++ Pin
CPallini21-Apr-11 3:25
mveCPallini21-Apr-11 3:25 
AnswerRe: Writing a Questionnaire using C++ Pin
HimanshuJoshi21-Apr-11 4:29
HimanshuJoshi21-Apr-11 4:29 
AnswerRe: Writing a Questionnaire using C++ Pin
Richard MacCutchan21-Apr-11 6:45
mveRichard MacCutchan21-Apr-11 6:45 
GeneralRe: Writing a Questionnaire using C++ Pin
CPallini21-Apr-11 7:13
mveCPallini21-Apr-11 7:13 
GeneralRe: Writing a Questionnaire using C++ Pin
Richard MacCutchan21-Apr-11 8:05
mveRichard MacCutchan21-Apr-11 8:05 
AnswerRe: Writing a Questionnaire using C++ Pin
Mattias G21-Apr-11 10:18
Mattias G21-Apr-11 10:18 
QuestionRe: Writing a Questionnaire using C++ Pin
David Crow26-Apr-11 2:52
David Crow26-Apr-11 2:52 
Questionfatal error LNK1112 Pin
Walking Hell21-Apr-11 0:43
Walking Hell21-Apr-11 0:43 
AnswerRe: fatal error LNK1112 Pin
«_Superman_»21-Apr-11 1:47
professional«_Superman_»21-Apr-11 1:47 
GeneralRe: fatal error LNK1112 [modified] Pin
Walking Hell21-Apr-11 4:04
Walking Hell21-Apr-11 4:04 
GeneralRe: fatal error LNK1112 Pin
«_Superman_»21-Apr-11 4:16
professional«_Superman_»21-Apr-11 4:16 
GeneralRe: fatal error LNK1112 Pin
Walking Hell21-Apr-11 4:21
Walking Hell21-Apr-11 4:21 
GeneralRe: fatal error LNK1112 Pin
Walking Hell21-Apr-11 4:55
Walking Hell21-Apr-11 4:55 
GeneralRe: fatal error LNK1112 Pin
Richard MacCutchan21-Apr-11 6:42
mveRichard MacCutchan21-Apr-11 6:42 
GeneralRe: fatal error LNK1112 Pin
Walking Hell21-Apr-11 7:07
Walking Hell21-Apr-11 7:07 
GeneralRe: fatal error LNK1112 Pin
Walking Hell21-Apr-11 7:43
Walking Hell21-Apr-11 7:43 
GeneralRe: fatal error LNK1112 Pin
Richard MacCutchan21-Apr-11 8:04
mveRichard MacCutchan21-Apr-11 8:04 
QuestionOffice converter DLLs and thread safety Pin
Mattias G20-Apr-11 23:28
Mattias G20-Apr-11 23:28 
AnswerRe: Office converter DLLs and thread safety Pin
Roger Stoltz25-Apr-11 23:28
Roger Stoltz25-Apr-11 23:28 
GeneralRe: Office converter DLLs and thread safety Pin
Mattias G27-Apr-11 2:39
Mattias G27-Apr-11 2:39 
No, I wasn't hoping that calling LoadLibrary from within the thread (that later will call ForeignToRtf32) would in some magical way make the DLLs thread safe.

Did put some more effort into this, but couldn't find any real pattern. Did get rid of one exception type by balancing the calls to OleInitialize and OleUninitialize more carefully for each thread. Still getting a lot of exceptions of types 0x800401FD CO_E_OBJNOTCONNECTED and 0x8001010E RPC_E_WRONG_THREAD (though I'm not using any COM interfaces explicitly in my application).

So back to my original question: Does anyone know anything about the thread safety of these libraries?

Thanks
AnswerRe: Office converter DLLs and thread safety Pin
Roger Stoltz27-Apr-11 6:05
Roger Stoltz27-Apr-11 6:05 
GeneralRe: Office converter DLLs and thread safety Pin
Mattias G29-Apr-11 0:06
Mattias G29-Apr-11 0:06 
Questionneed help in learning AES algo. Pin
gateway2320-Apr-11 23:03
gateway2320-Apr-11 23:03 

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.