i'm looking for MFC\VC++ eqvivalent for VB Shell Function.
this function activates any application from the current code.
Shell "path To App EXE",windowMode(Constants available)
knowing no eqvivalent in MFC\VC++, i've tried to include the
Proccess.H lib, and used :
that's works fine only when the path is in the same dir :
this one is not executing (the path is correct) :
this line raise 3 warnings :
warning C4129: 'P' : unrecognized character escape sequence
i suspect it's the Slash or space in folder name or long folder name.
another thing i've tried is a batch file. that's fine exept that it don't get a folder name like "Program Files"
anyway, i need an MFC\VC++ solution as simple as VB....