Click here to Skip to main content
15,917,928 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
CPallini26-Jul-09 23:49
mveCPallini26-Jul-09 23:49 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. [modified] Pin
Madhu_Rani27-Jul-09 19:08
Madhu_Rani27-Jul-09 19:08 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Rajesh R Subramanian27-Jul-09 23:58
professionalRajesh R Subramanian27-Jul-09 23:58 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Madhu_Rani28-Jul-09 0:07
Madhu_Rani28-Jul-09 0:07 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Manas Bhardwaj28-Jul-09 3:17
professionalManas Bhardwaj28-Jul-09 3:17 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Manas Bhardwaj28-Jul-09 3:25
professionalManas Bhardwaj28-Jul-09 3:25 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Rajesh R Subramanian28-Jul-09 3:57
professionalRajesh R Subramanian28-Jul-09 3:57 
QuestionConnecting to WMI -using COM [modified] Pin
Member 432083115-Jul-09 22:12
Member 432083115-Jul-09 22:12 
Hi, I'm rather new to using COM. I was to trying to connect to WMI and plan to create two separate threads that will connect to WMI parallelly. Both the threads will be watching for some WMI events. My question is, do I need to use two separate proxies for each of the threads. Can I use the same IWbemServices pointer (say declared globally ,or passed by reference to the thread) in my second thread as well. This other thread would be looking for some other event but using the same WMI namespace. Would that work?

Also can the same WMI locator (obtained from CoCreateInstance) be used to connect to other WMI namespaces as well?

I'm very new to COM and don't understand the concepts too well. Please helpConfused | :confused:

[Edit]
Someone please guide me a little here! I'm totally lost in COM ocean.. Cry | :((

modified on Thursday, July 16, 2009 11:37 AM

AnswerRe: Connecting to WMI -using COM Pin
Stuart Dootson15-Jul-09 22:24
professionalStuart Dootson15-Jul-09 22:24 
GeneralRe: Connecting to WMI -using COM Pin
Member 432083116-Jul-09 1:59
Member 432083116-Jul-09 1:59 
QuestionIP from socket handle Pin
sunny_vc15-Jul-09 21:17
sunny_vc15-Jul-09 21:17 
AnswerRe: IP from socket handle Pin
CPallini15-Jul-09 21:28
mveCPallini15-Jul-09 21:28 
QuestionCreateProcess doesn’t passes command line arguments [modified] Pin
staticv15-Jul-09 20:56
staticv15-Jul-09 20:56 
AnswerRe: CreateProcess doesn’t passes command line arguments Pin
Franck Paquier15-Jul-09 21:18
Franck Paquier15-Jul-09 21:18 
AnswerRe: CreateProcess doesn’t passes command line arguments Pin
Michael Schubert15-Jul-09 22:17
Michael Schubert15-Jul-09 22:17 
AnswerRe: CreateProcess doesn’t passes command line arguments Pin
Stuart Dootson15-Jul-09 22:20
professionalStuart Dootson15-Jul-09 22:20 
AnswerRe: CreateProcess doesn’t passes command line arguments Pin
tns_ranjith15-Jul-09 22:41
tns_ranjith15-Jul-09 22:41 
GeneralRe: CreateProcess doesn’t passes command line arguments Pin
Michael Schubert15-Jul-09 23:00
Michael Schubert15-Jul-09 23:00 
GeneralRe: CreateProcess doesn’t passes command line arguments Pin
Rajesh R Subramanian15-Jul-09 23:45
professionalRajesh R Subramanian15-Jul-09 23:45 
GeneralRe: CreateProcess doesn’t passes command line arguments Pin
Michael Schubert15-Jul-09 23:48
Michael Schubert15-Jul-09 23:48 
GeneralRe: CreateProcess doesn’t passes command line arguments Pin
tns_ranjith16-Jul-09 0:11
tns_ranjith16-Jul-09 0:11 
QuestionHow to test is the given path is a directory or a file? Pin
Chesnokov Yuriy15-Jul-09 20:56
professionalChesnokov Yuriy15-Jul-09 20:56 
AnswerRe: How to test is the given path is a directory or a file? Pin
Randor 15-Jul-09 21:08
professional Randor 15-Jul-09 21:08 
AnswerRe: How to test is the given path is a directory or a file? Pin
Chesnokov Yuriy15-Jul-09 22:50
professionalChesnokov Yuriy15-Jul-09 22:50 
AnswerRe: How to test is the given path is a directory or a file? [modified] Pin
CPallini15-Jul-09 21:21
mveCPallini15-Jul-09 21:21 

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.