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

C / C++ / MFC

 
GeneralRe: Characters conversions on ReadFile and WriteFile Pin
MAXS72U10-Oct-01 21:32
MAXS72U10-Oct-01 21:32 
GeneralWinCE/eMbedded Visual C++ Pin
Erik G. Poel10-Oct-01 5:12
Erik G. Poel10-Oct-01 5:12 
GeneralLNK2001 Error when creating a Multithreaded Debug DLL Pin
Stacie Bartley10-Oct-01 4:48
Stacie Bartley10-Oct-01 4:48 
GeneralRe: LNK2001 Error when creating a Multithreaded Debug DLL Pin
James Spibey16-Dec-01 0:38
James Spibey16-Dec-01 0:38 
GeneralEject CD by DeviceIoControl Pin
Masaaki Onishi10-Oct-01 4:17
Masaaki Onishi10-Oct-01 4:17 
GeneralCProperty Sheet Pin
10-Oct-01 4:14
suss10-Oct-01 4:14 
GeneralRe: CProperty Sheet Pin
Erik G. Poel10-Oct-01 4:33
Erik G. Poel10-Oct-01 4:33 
QuestionCreating a COM object in another thread? Pin
NormDroid10-Oct-01 2:49
professionalNormDroid10-Oct-01 2:49 
Not for the faint hearted. I recently changed the way my project was designed and parts of it stopped working, I tracked this down to a media com object being created in my worker thread and not the thread where my *mainframe* window resides.

Question?
If I'm in a worker thread is there anyway to create a com object under the context of another thread i.e the thread where my mainframe resides, I'm sure I've done this before, but have'nt touched COM for 6months.

Thanks In Advance

Norm Almond
Chief Technical Architect
FS Walker Hughes Limited


AnswerRe: Creating a COM object in another thread? Pin
10-Oct-01 3:12
suss10-Oct-01 3:12 
GeneralRe: Creating a COM object in another thread? Pin
NormDroid10-Oct-01 3:42
professionalNormDroid10-Oct-01 3:42 
GeneralRe: Creating a COM object in another thread? Pin
10-Oct-01 3:53
suss10-Oct-01 3:53 
GeneralRe: Creating a COM object in another thread? Pin
NormDroid10-Oct-01 3:59
professionalNormDroid10-Oct-01 3:59 
GeneralRe: Creating a COM object in another thread? Pin
10-Oct-01 4:08
suss10-Oct-01 4:08 
GeneralRe: Creating a COM object in another thread? Pin
NormDroid10-Oct-01 4:16
professionalNormDroid10-Oct-01 4:16 
GeneralRe: Creating a COM object in another thread? Pin
10-Oct-01 4:41
suss10-Oct-01 4:41 
AnswerRe: Creating a COM object in another thread? Pin
Not Active10-Oct-01 3:20
mentorNot Active10-Oct-01 3:20 
GeneralRe: Creating a COM object in another thread? Pin
NormDroid10-Oct-01 3:52
professionalNormDroid10-Oct-01 3:52 
QuestionHow i manage Events of a run time created DBGrid control Pin
Khalil10-Oct-01 2:36
Khalil10-Oct-01 2:36 
GeneralCRuntimeClass::CreateObject() and delete Pin
BruteBertus10-Oct-01 2:18
BruteBertus10-Oct-01 2:18 
GeneralRe: CRuntimeClass::CreateObject() and delete Pin
Tomasz Sowinski10-Oct-01 3:53
Tomasz Sowinski10-Oct-01 3:53 
GeneralRe: CRuntimeClass::CreateObject() and delete Pin
BruteBertus10-Oct-01 22:05
BruteBertus10-Oct-01 22:05 
GeneralRe: CRuntimeClass::CreateObject() and delete Pin
Tomasz Sowinski11-Oct-01 1:50
Tomasz Sowinski11-Oct-01 1:50 
GeneralRemote MS-ACCESS database connect. Pin
10-Oct-01 0:09
suss10-Oct-01 0:09 
QuestionHow can i do this? Pin
zhangyifei10-Oct-01 0:00
zhangyifei10-Oct-01 0:00 
AnswerRe: How can i do this? Pin
Jon Hulatt10-Oct-01 0:41
Jon Hulatt10-Oct-01 0:41 

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.