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

C / C++ / MFC

 
GeneralRe: Controlling the folder views from a third party application. Pin
emmmatty17-Jul-09 23:35
emmmatty17-Jul-09 23:35 
GeneralRe: Controlling the folder views from a third party application. Pin
Stuart Dootson8-Jul-09 0:48
professionalStuart Dootson8-Jul-09 0:48 
GeneralRe: Controlling the folder views from a third party application. Pin
emmmatty18-Jul-09 1:53
emmmatty18-Jul-09 1:53 
QuestionC C++ Eclipse plugins Pin
Fatbuddha 17-Jul-09 22:12
Fatbuddha 17-Jul-09 22:12 
AnswerRe: C C++ Eclipse plugins Pin
CPallini7-Jul-09 22:38
mveCPallini7-Jul-09 22:38 
GeneralRe: C C++ Eclipse plugins Pin
Fatbuddha 18-Jul-09 1:10
Fatbuddha 18-Jul-09 1:10 
Questioncan we create thread in Single Threaded component Pin
pandit847-Jul-09 21:02
pandit847-Jul-09 21:02 
AnswerRe: can we create thread in Single Threaded component Pin
Roger Stoltz7-Jul-09 21:16
Roger Stoltz7-Jul-09 21:16 
Yes, you may spawn as many threads as you like.

However, if you plan to use interfaces to COM servers created in the main thread you need to initialize COM in your other threads by calling ::CoInitialize(), or one of its equivalents, in order to setup COM for that thread and you will also need to marshal interfaces properly into the new thread.

Lim Bio Liong has written a nice article series on the subject starting here[^].


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


GeneralRe: can we create thread in Single Threaded component Pin
Stuart Dootson7-Jul-09 21:37
professionalStuart Dootson7-Jul-09 21:37 
GeneralRe: can we create thread in Single Threaded component Pin
Roger Stoltz7-Jul-09 21:44
Roger Stoltz7-Jul-09 21:44 
Questionhow can i convert CString to int? Pin
mazizi7-Jul-09 20:19
mazizi7-Jul-09 20:19 
AnswerRe: how can i convert CString to int? Pin
«_Superman_»7-Jul-09 20:22
professional«_Superman_»7-Jul-09 20:22 
GeneralRe: how can i convert CString to int? Pin
mazizi7-Jul-09 21:46
mazizi7-Jul-09 21:46 
AnswerRe: how can i convert CString to int? Pin
chandu0047-Jul-09 20:22
chandu0047-Jul-09 20:22 
GeneralRe: how can i convert CString to int? Pin
Cedric Moonen7-Jul-09 20:25
Cedric Moonen7-Jul-09 20:25 
GeneralRe: how can i convert CString to int? Pin
chandu0047-Jul-09 20:27
chandu0047-Jul-09 20:27 
GeneralRe: how can i convert CString to int? Pin
mazizi7-Jul-09 21:45
mazizi7-Jul-09 21:45 
AnswerRe: how can i convert CString to int? Pin
CPallini7-Jul-09 21:03
mveCPallini7-Jul-09 21:03 
GeneralRe: how can i convert CString to int? Pin
mazizi7-Jul-09 21:38
mazizi7-Jul-09 21:38 
QuestionRe: how can i convert CString to int? Pin
CPallini7-Jul-09 21:49
mveCPallini7-Jul-09 21:49 
AnswerRe: how can i convert CString to int? Pin
Michael Schubert8-Jul-09 3:22
Michael Schubert8-Jul-09 3:22 
GeneralRe: how can i convert CString to int? Pin
CPallini8-Jul-09 3:27
mveCPallini8-Jul-09 3:27 
GeneralRe: how can i convert CString to int? Pin
Michael Schubert7-Jul-09 21:51
Michael Schubert7-Jul-09 21:51 
JokeRe: how can i convert CString to int? Pin
CPallini7-Jul-09 22:31
mveCPallini7-Jul-09 22:31 
GeneralRe: how can i convert CString to int? Pin
Michael Schubert7-Jul-09 23:02
Michael Schubert7-Jul-09 23:02 

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.