Click here to Skip to main content
15,903,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to convert a string to char Pin
Zac Howland18-Sep-06 3:26
Zac Howland18-Sep-06 3:26 
QuestionDoc-View to be called from a dialog based MFC program? Pin
Rajeswari, T.17-Sep-06 19:58
Rajeswari, T.17-Sep-06 19:58 
Questionthreads to save in compound document. Pin
cpp_prgmer17-Sep-06 19:55
cpp_prgmer17-Sep-06 19:55 
AnswerRe: threads to save in compound document. Pin
Stephen Hewitt17-Sep-06 20:55
Stephen Hewitt17-Sep-06 20:55 
GeneralRe: threads to save in compound document. Pin
cpp_prgmer17-Sep-06 20:59
cpp_prgmer17-Sep-06 20:59 
GeneralRe: threads to save in compound document. Pin
Stephen Hewitt17-Sep-06 21:09
Stephen Hewitt17-Sep-06 21:09 
GeneralRe: threads to save in compound document. Pin
cpp_prgmer17-Sep-06 21:13
cpp_prgmer17-Sep-06 21:13 
GeneralRe: threads to save in compound document. Pin
Stephen Hewitt18-Sep-06 14:08
Stephen Hewitt18-Sep-06 14:08 
In general, it is illegal to pass COM interface pointers from one thread to another directly; they must be marshaled to the other thread. This is not a limitation but a feature however. For example say you have a COM object that is not thread safe and can only safely be called from one thread. In this case passing one of its interface pointers directly to another thread would be disastrous. If you marshal the interface pointer to the other thread COM sets up a proxy in the other thread and a stub in the object’s thread and things will seem to just work. In reality the calls to proxy send information to the stub which calls the real object so all calls to the object still come from it’s own thread and all the details of the inter-thread communication are hidden. The situation if the same inter-process. In short I think you need to look up marshaling.

Steve

QuestionHow can i set caption for SDI? Pin
kiranin17-Sep-06 19:48
kiranin17-Sep-06 19:48 
AnswerRe: How can i set caption for SDI? Pin
Hamid_RT17-Sep-06 19:53
Hamid_RT17-Sep-06 19:53 
GeneralRe: How can i set caption for SDI? Pin
Christian Graus17-Sep-06 20:12
protectorChristian Graus17-Sep-06 20:12 
GeneralRe: How can i set caption for SDI? Pin
Hamid_RT17-Sep-06 20:38
Hamid_RT17-Sep-06 20:38 
GeneralRe: How can i set caption for SDI? Pin
kiranin17-Sep-06 20:31
kiranin17-Sep-06 20:31 
GeneralRe: How can i set caption for SDI? Pin
Hamid_RT17-Sep-06 20:40
Hamid_RT17-Sep-06 20:40 
GeneralRe: How can i set caption for SDI? Pin
kiranin17-Sep-06 20:43
kiranin17-Sep-06 20:43 
GeneralRe: How can i set caption for SDI? Pin
Hamid_RT18-Sep-06 9:50
Hamid_RT18-Sep-06 9:50 
Questionrenaming and deleting the folder Pin
radhika2817-Sep-06 19:06
radhika2817-Sep-06 19:06 
AnswerRe: renaming and deleting the folder Pin
_AnsHUMAN_ 17-Sep-06 19:11
_AnsHUMAN_ 17-Sep-06 19:11 
AnswerRe: renaming and deleting the folder Pin
Naveen17-Sep-06 19:12
Naveen17-Sep-06 19:12 
AnswerRe: renaming and deleting the folder Pin
Hamid_RT17-Sep-06 19:46
Hamid_RT17-Sep-06 19:46 
GeneralRe: renaming and deleting the folder Pin
radhika2817-Sep-06 21:25
radhika2817-Sep-06 21:25 
GeneralRe: renaming and deleting the folder Pin
Hamid_RT17-Sep-06 21:40
Hamid_RT17-Sep-06 21:40 
GeneralRe: renaming and deleting the folder Pin
radhika2818-Sep-06 0:59
radhika2818-Sep-06 0:59 
QuestionRe: renaming and deleting the folder Pin
Hamid_RT18-Sep-06 1:32
Hamid_RT18-Sep-06 1:32 
AnswerRe: renaming and deleting the folder Pin
radhika2818-Sep-06 3:50
radhika2818-Sep-06 3:50 

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.