Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CStringTable Pin
Maximilien8-Nov-06 2:51
Maximilien8-Nov-06 2:51 
GeneralRe: CStringTable Pin
Mila0258-Nov-06 3:39
Mila0258-Nov-06 3:39 
AnswerRe: CStringTable Pin
Maximilien8-Nov-06 2:49
Maximilien8-Nov-06 2:49 
QuestionHi question related to Control's display. Pin
Sameer_Thakur7-Nov-06 23:09
Sameer_Thakur7-Nov-06 23:09 
AnswerRe: Hi question related to Control's display. Pin
benjymous8-Nov-06 0:02
benjymous8-Nov-06 0:02 
GeneralRe: Hi question related to Control's display. Pin
Sameer_Thakur8-Nov-06 2:43
Sameer_Thakur8-Nov-06 2:43 
Questionsupporting multithread Pin
shadrach_india7-Nov-06 22:54
shadrach_india7-Nov-06 22:54 
AnswerRe: supporting multithread Pin
Paul M Watt8-Nov-06 7:24
mentorPaul M Watt8-Nov-06 7:24 
Hopefully the writer of the object put the proper restrictions on the object.

If it is not multithread aware, then it will only be allowed to be created in a Single Threaded Apartment (STA), then if you try to talk to multiple COM objects on different threads, the COM architecture will protect and syncrhonize those objects.

Otherwise, a COM object will be thread safe if it is allowed to run in the Multi-threaded Apartment(MTA) or the Free Threaded Apartment. In this case, the object itself must syncrhonize the internal state data to properly run.

When you create a COM object, you specify the type of thread that it is created on. If the thread that you are attempting to create the object on is not compatible with the supported apartment types for the COM object, the object creation should fail.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

AnswerRe: supporting multithread Pin
Stephen Hewitt8-Nov-06 11:41
Stephen Hewitt8-Nov-06 11:41 
QuestionAccess database in MFC Pin
deepak.cse077-Nov-06 22:37
deepak.cse077-Nov-06 22:37 
AnswerRe: Access database in MFC Pin
Ștefan-Mihai MOGA7-Nov-06 22:42
professionalȘtefan-Mihai MOGA7-Nov-06 22:42 
AnswerRe: Access database in MFC Pin
Hamid_RT8-Nov-06 0:02
Hamid_RT8-Nov-06 0:02 
AnswerRe: Access database in MFC Pin
David Crow8-Nov-06 2:59
David Crow8-Nov-06 2:59 
QuestionProgramming Challenge Pin
Hadi Dayvary7-Nov-06 22:34
professionalHadi Dayvary7-Nov-06 22:34 
AnswerRe: Programming Challenge Pin
Christian Graus7-Nov-06 23:05
protectorChristian Graus7-Nov-06 23:05 
GeneralRe: Programming Challenge Pin
Hadi Dayvary7-Nov-06 23:39
professionalHadi Dayvary7-Nov-06 23:39 
AnswerRe: Programming Challenge Pin
Jonathan [Darka]8-Nov-06 0:30
professionalJonathan [Darka]8-Nov-06 0:30 
GeneralRe: Programming Challenge Pin
Hadi Dayvary8-Nov-06 0:47
professionalHadi Dayvary8-Nov-06 0:47 
GeneralRe: Programming Challenge Pin
TClarke8-Nov-06 6:07
TClarke8-Nov-06 6:07 
Questionhow to handle enter key press in mfc Pin
sureshu7-Nov-06 22:20
sureshu7-Nov-06 22:20 
AnswerRe: how to handle enter key press in mfc Pin
dharani7-Nov-06 22:25
dharani7-Nov-06 22:25 
AnswerRe: how to handle enter key press in mfc Pin
dharani7-Nov-06 22:28
dharani7-Nov-06 22:28 
GeneralRe: how to handle enter key press in mfc Pin
dharani7-Nov-06 22:43
dharani7-Nov-06 22:43 
GeneralRe: how to handle enter key press in mfc Pin
dharani7-Nov-06 23:00
dharani7-Nov-06 23:00 
GeneralRe: how to handle enter key press in mfc Pin
Cedric Moonen7-Nov-06 23:40
Cedric Moonen7-Nov-06 23:40 

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.