Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3027

ShellExecuteW - Help Plz!?

$
0
0
Hi guys,

i want to run an .exe file through ShellExecuteW and if there is no .exe file in the path, i would like to return a msg box, but the code
Code:

if(ShellExecuteW!=ERROR_SUCCESS)
is not working and if i report
Code:

int run = ShellExecute(Path)
it says that the "int" is wrong... i barely know about c++, or better, i just know how to interpret basic lines of code..Any Help Plz?!

Thanks :

Duarte V.

Viewing all articles
Browse latest Browse all 3027

Latest Images

Trending Articles



Latest Images