Click here to Skip to main content
15,899,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Executable not opening using ShellExecute() Pin
Nibu babu thomas8-Mar-06 20:26
Nibu babu thomas8-Mar-06 20:26 
GeneralRe: Executable not opening using ShellExecute() Pin
CNewbie9-Mar-06 13:11
CNewbie9-Mar-06 13:11 
QuestionC++ Basketball game Pin
slurpyz8-Mar-06 17:27
slurpyz8-Mar-06 17:27 
AnswerRe: C++ Basketball game Pin
Ryan Binns8-Mar-06 17:54
Ryan Binns8-Mar-06 17:54 
GeneralRe: C++ Basketball game Pin
Taka Muraoka8-Mar-06 19:40
Taka Muraoka8-Mar-06 19:40 
QuestionHow Can i Use MFC controls in WIN32 App Pin
kmsekhar8-Mar-06 17:02
kmsekhar8-Mar-06 17:02 
AnswerRe: How Can i Use MFC controls in WIN32 App Pin
toxcct8-Mar-06 21:38
toxcct8-Mar-06 21:38 
QuestionString Error using ShellExecute() in vs.net 2005 Pin
CNewbie8-Mar-06 16:43
CNewbie8-Mar-06 16:43 
I am getting an error on this line:

ShellExecute(NULL,NULL,"Cisco CCNP Exam 642-801\\cd1\\CBTNuggetPlayer.exe",NULL,"",SW_SHOWDEFAULT);

and the error is:

error C2664: 'ShellExecuteW' : cannot convert parameter 3 from 'const char [48]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

I am using a relative path as my program will be executed from the root of a CD and will attempt to open a file 2 layer down the directory tree.

thanks
AnswerRe: String Error using ShellExecute() in vs.net 2005 Pin
Nibu babu thomas8-Mar-06 16:48
Nibu babu thomas8-Mar-06 16:48 
GeneralRe: String Error using ShellExecute() in vs.net 2005 Pin
CNewbie8-Mar-06 17:01
CNewbie8-Mar-06 17:01 
GeneralRe: String Error using ShellExecute() in vs.net 2005 Pin
Nibu babu thomas8-Mar-06 17:07
Nibu babu thomas8-Mar-06 17:07 
GeneralRe: String Error using ShellExecute() in vs.net 2005 Pin
CNewbie8-Mar-06 17:09
CNewbie8-Mar-06 17:09 
GeneralRe: String Error using ShellExecute() in vs.net 2005 Pin
Nibu babu thomas8-Mar-06 17:51
Nibu babu thomas8-Mar-06 17:51 
AnswerRe: String Error using ShellExecute() in vs.net 2005 Pin
HOW WHAT8-Mar-06 16:48
HOW WHAT8-Mar-06 16:48 
AnswerRe: String Error using ShellExecute() in vs.net 2005 Pin
toxcct8-Mar-06 21:38
toxcct8-Mar-06 21:38 
QuestionModify project in Visual C++ Pin
Thuan_pham8-Mar-06 16:21
Thuan_pham8-Mar-06 16:21 
AnswerRe: Modify project in Visual C++ Pin
Thuan_pham8-Mar-06 16:24
Thuan_pham8-Mar-06 16:24 
GeneralRe: Modify project in Visual C++ Pin
Thuan_pham8-Mar-06 16:57
Thuan_pham8-Mar-06 16:57 
GeneralRe: Modify project in Visual C++ Pin
chetan2101838-Mar-06 18:08
chetan2101838-Mar-06 18:08 
AnswerRe: Modify project in Visual C++ Pin
Ryan Binns8-Mar-06 17:07
Ryan Binns8-Mar-06 17:07 
AnswerRe: Modify project in Visual C++ Pin
Divyang Mithaiwala8-Mar-06 17:38
Divyang Mithaiwala8-Mar-06 17:38 
AnswerRe: Modify project in Visual C++ Pin
Aqueel8-Mar-06 17:38
Aqueel8-Mar-06 17:38 
AnswerRe: Modify project in Visual C++ Pin
haian24428-Mar-06 19:54
haian24428-Mar-06 19:54 
GeneralRe: Modify project in Visual C++ Pin
Thuan_pham8-Mar-06 23:18
Thuan_pham8-Mar-06 23:18 
GeneralRe: Modify project in Visual C++ Pin
haian24429-Mar-06 0:43
haian24429-Mar-06 0:43 

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.