Click here to Skip to main content
15,909,091 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFirewalls & VC++ FTP application again Pin
rasha200328-Feb-04 18:17
rasha200328-Feb-04 18:17 
GeneralDifficuties on Mouse Coordinates Detection Pin
ansontong28-Feb-04 17:32
ansontong28-Feb-04 17:32 
GeneralRe: Difficuties on Mouse Coordinates Detection Pin
akira3229-Feb-04 1:23
akira3229-Feb-04 1:23 
GeneralBeginner: Having trouble with LoadResource and Windows Pin
mjeb111128-Feb-04 13:49
mjeb111128-Feb-04 13:49 
GeneralRe: Beginner: Having trouble with LoadResource and Windows Pin
Gerald Schwab28-Feb-04 14:49
Gerald Schwab28-Feb-04 14:49 
GeneralRe: Beginner: Having trouble with LoadResource and Windows Pin
mjeb111128-Feb-04 16:02
mjeb111128-Feb-04 16:02 
GeneralRe: Beginner: Having trouble with LoadResource and Windows Pin
Gary R. Wheeler29-Feb-04 5:58
Gary R. Wheeler29-Feb-04 5:58 
GeneralRe: Beginner: Having trouble with LoadResource and Windows Pin
mjeb111129-Feb-04 12:12
mjeb111129-Feb-04 12:12 
GeneralDialogBar and Tab Controls Pin
krugger28-Feb-04 11:37
krugger28-Feb-04 11:37 
Generalregsvr32 and XP Pin
BaldwinMartin28-Feb-04 9:03
BaldwinMartin28-Feb-04 9:03 
GeneralDLL bitmap Pin
BaldwinMartin28-Feb-04 7:58
BaldwinMartin28-Feb-04 7:58 
GeneralRe: DLL bitmap Pin
Gary R. Wheeler29-Feb-04 6:22
Gary R. Wheeler29-Feb-04 6:22 
GeneralCaps Lock Pin
Archer28228-Feb-04 7:01
Archer28228-Feb-04 7:01 
GeneralRe: Caps Lock Pin
PJ Arends28-Feb-04 8:27
professionalPJ Arends28-Feb-04 8:27 
GeneralRe: Caps Lock Pin
Archer28228-Feb-04 8:32
Archer28228-Feb-04 8:32 
GeneralRe: Caps Lock Pin
PJ Arends28-Feb-04 9:23
professionalPJ Arends28-Feb-04 9:23 
Generalflickering of controls Pin
JWood28-Feb-04 6:00
JWood28-Feb-04 6:00 
GeneralRe: flickering of controls Pin
alex.barylski28-Feb-04 10:36
alex.barylski28-Feb-04 10:36 
GeneralToolbar and transparent icons problem Pin
NodeX28-Feb-04 4:13
NodeX28-Feb-04 4:13 
Generalleft button mouse lock Pin
jmb2428-Feb-04 4:11
jmb2428-Feb-04 4:11 
GeneralRe: left button mouse lock Pin
PJ Arends28-Feb-04 9:52
professionalPJ Arends28-Feb-04 9:52 
Generalremote process creation Pin
Rubin Boban28-Feb-04 0:44
Rubin Boban28-Feb-04 0:44 
GeneralRe: remote process creation Pin
Antti Keskinen28-Feb-04 1:36
Antti Keskinen28-Feb-04 1:36 
Basically, yes, and no.

For example, if you had a computer on the network that has a program MyRunThis installed, and the folder in which the application is was shared, you could start the program by using ShellExec and a command string "\\computer_name\folder\MyRunThis.exe".

In order to run a program on a remote computer, it must be made available by some way. This means that if the target computer's application's folder is not shared or registered as a DCOM server, you cannot start it. This is a security issue, thus making it impossible to execute malicious code without a clear security vulnerability first available.

If the computer resides on a LAN, it shouldn't be a big problem for you to share the target folder, then use ShellExecute to start it. If you have access to the application's source code, register it to support Automation, and this will allow you to create an instance of the application by calling CoCreateInstance.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
Generala printing question Pin
saibetty27-Feb-04 23:59
saibetty27-Feb-04 23:59 
GeneralRe: a printing question Pin
Gary R. Wheeler28-Feb-04 6:41
Gary R. Wheeler28-Feb-04 6:41 

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.