Click here to Skip to main content
15,886,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: performance of C,C++ programs Pin
vikramlinux4-Apr-06 3:43
vikramlinux4-Apr-06 3:43 
GeneralRe: performance of C,C++ programs Pin
toxcct4-Apr-06 3:46
toxcct4-Apr-06 3:46 
GeneralRe: performance of C,C++ programs Pin
Maximilien4-Apr-06 3:14
Maximilien4-Apr-06 3:14 
GeneralRe: performance of C,C++ programs Pin
vikramlinux4-Apr-06 20:16
vikramlinux4-Apr-06 20:16 
AnswerRe: performance of C,C++ programs Pin
Maximilien4-Apr-06 3:10
Maximilien4-Apr-06 3:10 
AnswerRe: performance of C,C++ programs Pin
Ștefan-Mihai MOGA4-Apr-06 3:11
professionalȘtefan-Mihai MOGA4-Apr-06 3:11 
AnswerRe: performance of C,C++ programs Pin
toxcct4-Apr-06 3:42
toxcct4-Apr-06 3:42 
QuestionMarshalling Pin
viperlogic4-Apr-06 2:36
viperlogic4-Apr-06 2:36 
hi
i have a vc++6 MFC app. in my main i start a thread that connects to the wmi of a host, it uses

IWbemLocator *pLoc
IWbemServices *pSvc

back in the main, once the thread has finished connecting to the wmi of the host, it is queryied but the two global variables above are "empty", this is because you cannot use COM interfaces on multiple threads and each thread must initialize COM itself and onyl use local COM objects afaik.

so i think marshalling will have to be used but i dont know where to start on how to implement it

please help
AnswerRe: Marshalling Pin
Roger Stoltz4-Apr-06 3:03
Roger Stoltz4-Apr-06 3:03 
GeneralRe: Marshalling Pin
viperlogic4-Apr-06 3:22
viperlogic4-Apr-06 3:22 
GeneralRe: Marshalling Pin
YaronNir4-Apr-06 4:00
YaronNir4-Apr-06 4:00 
AnswerRe: Marshalling Pin
Roger Stoltz4-Apr-06 4:01
Roger Stoltz4-Apr-06 4:01 
Questionproblem in OnDraw Pin
Anu_Bala4-Apr-06 2:34
Anu_Bala4-Apr-06 2:34 
AnswerRe: problem in OnDraw Pin
Cedric Moonen4-Apr-06 2:49
Cedric Moonen4-Apr-06 2:49 
AnswerRe: problem in OnDraw Pin
Hamid_RT4-Apr-06 3:15
Hamid_RT4-Apr-06 3:15 
Questionhardware identify in linux operating system Pin
ss20064-Apr-06 2:25
ss20064-Apr-06 2:25 
AnswerRe: hardware identify in linux operating system Pin
Ștefan-Mihai MOGA4-Apr-06 2:44
professionalȘtefan-Mihai MOGA4-Apr-06 2:44 
QuestionIs there any way to mix audio and video files? Pin
atimpoo4-Apr-06 2:10
atimpoo4-Apr-06 2:10 
AnswerRe: Is there any way to mix audio and video files? Pin
Ștefan-Mihai MOGA4-Apr-06 2:20
professionalȘtefan-Mihai MOGA4-Apr-06 2:20 
QuestionVisual Leak Detector Prob Pin
thepersonof4-Apr-06 1:32
thepersonof4-Apr-06 1:32 
AnswerRe: Visual Leak Detector Prob Pin
Cedric Moonen4-Apr-06 1:44
Cedric Moonen4-Apr-06 1:44 
GeneralRe: Visual Leak Detector Prob Pin
thepersonof4-Apr-06 1:51
thepersonof4-Apr-06 1:51 
GeneralRe: Visual Leak Detector Prob Pin
Cedric Moonen4-Apr-06 2:03
Cedric Moonen4-Apr-06 2:03 
GeneralRe: Visual Leak Detector Prob Pin
toxcct4-Apr-06 2:19
toxcct4-Apr-06 2:19 
GeneralRe: Visual Leak Detector Prob Pin
Cedric Moonen4-Apr-06 2:22
Cedric Moonen4-Apr-06 2:22 

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.