Click here to Skip to main content
15,902,112 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: database Pin
Paul Conrad2-Jul-08 18:18
professionalPaul Conrad2-Jul-08 18:18 
QuestionConvert System::String^ to char* array Pin
Manfr3d28-Jun-08 10:25
Manfr3d28-Jun-08 10:25 
AnswerRe: Convert System::String^ to char* array Pin
Luc Pattyn28-Jun-08 11:14
sitebuilderLuc Pattyn28-Jun-08 11:14 
AnswerRe: Convert System::String^ to char* array Pin
leonigah1-Jul-08 20:46
leonigah1-Jul-08 20:46 
GeneralRe: Convert System::String^ to char* array Pin
Manfr3d2-Jul-08 3:47
Manfr3d2-Jul-08 3:47 
Question'”OFWin”' : undeclared identifier Pin
hassan8528-Jun-08 10:12
hassan8528-Jun-08 10:12 
AnswerRe: '”OFWin”' : undeclared identifier Pin
Mark Salsbery28-Jun-08 12:15
Mark Salsbery28-Jun-08 12:15 
QuestiongridDrawer dll Pin
mikobi26-Jun-08 3:44
mikobi26-Jun-08 3:44 
AnswerRe: gridDrawer dll Pin
led mike26-Jun-08 4:51
led mike26-Jun-08 4:51 
QuestionBeforeNavigate2 webbrowser form control Pin
Xaria25-Jun-08 16:12
Xaria25-Jun-08 16:12 
QuestionHow do you reset StreamReader? There is no seek function. Pin
BuckBrown25-Jun-08 12:20
BuckBrown25-Jun-08 12:20 
AnswerRe: How do you reset StreamReader? There is no seek function. Pin
Robert.C.Cartaino25-Jun-08 12:44
Robert.C.Cartaino25-Jun-08 12:44 
GeneralRe: How do you reset StreamReader? There is no seek function. Pin
BuckBrown26-Jun-08 5:56
BuckBrown26-Jun-08 5:56 
QuestionExecuting a programm from my application Pin
Manfr3d25-Jun-08 8:29
Manfr3d25-Jun-08 8:29 
AnswerRe: Executing a programm from my application Pin
Luc Pattyn25-Jun-08 8:49
sitebuilderLuc Pattyn25-Jun-08 8:49 
AnswerRe: Executing a programm from my application Pin
Mark Salsbery25-Jun-08 9:55
Mark Salsbery25-Jun-08 9:55 
GeneralRe: Executing a programm from my application Pin
Manfr3d26-Jun-08 2:36
Manfr3d26-Jun-08 2:36 
Thanks, but you need windows.h in both cases.

I tried the ShellExecute() function with the included header and library, but nothing happens, the specified program didn't start.
<br />
#pragma once<br />
#pragma comment(lib, "shell32.lib")<br />
<br />
#include <windows.h><br />
#include <shellapi.h><br />
<br />
// ...<br />
<br />
char *pcOp = "open";<br />
char *pcPath = "calc.exe";<br />
ShellExecute(NULL, (LPCWSTR)pcOp, (LPCWSTR)pcPath, NULL, NULL, SW_SHOWNORMAL); <br />
</shellapi.h></windows.h>


As I run this code I didn't get any error messages but nothing happened.
What am I doing wrong?
GeneralRe: Executing a programm from my application Pin
led mike26-Jun-08 4:46
led mike26-Jun-08 4:46 
GeneralRe: Executing a programm from my application Pin
Mark Salsbery26-Jun-08 6:13
Mark Salsbery26-Jun-08 6:13 
QuestionDirectshow methods in VC++ Windows forms application Pin
bhanu_850925-Jun-08 5:04
bhanu_850925-Jun-08 5:04 
AnswerRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery25-Jun-08 9:56
Mark Salsbery25-Jun-08 9:56 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850925-Jun-08 23:19
bhanu_850925-Jun-08 23:19 
QuestionRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery26-Jun-08 6:29
Mark Salsbery26-Jun-08 6:29 
AnswerRe: Directshow methods in VC++ Windows forms application [modified] Pin
bhanu_850926-Jun-08 20:43
bhanu_850926-Jun-08 20:43 
QuestionRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery27-Jun-08 4:57
Mark Salsbery27-Jun-08 4:57 

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.