Click here to Skip to main content
16,010,544 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: A question about "size_t" Pin
Nish Nishant1-Sep-02 0:24
sitebuilderNish Nishant1-Sep-02 0:24 
GeneralRe: A question about "size_t" Pin
George Ma1-Sep-02 1:18
George Ma1-Sep-02 1:18 
GeneralFiles and class organizations question. Pin
Maximilien29-Aug-02 12:07
Maximilien29-Aug-02 12:07 
GeneralRe: Files and class organizations question. Pin
Nish Nishant29-Aug-02 15:20
sitebuilderNish Nishant29-Aug-02 15:20 
Generalexception becouse of AfxGetInstanceHandle() Pin
imran_rafique28-Aug-02 11:16
imran_rafique28-Aug-02 11:16 
GeneralRe: exception becouse of AfxGetInstanceHandle() Pin
Nish Nishant28-Aug-02 17:26
sitebuilderNish Nishant28-Aug-02 17:26 
GeneralRe: exception becouse of AfxGetInstanceHandle() Pin
Anonymous1-Sep-02 11:32
Anonymous1-Sep-02 11:32 
GeneralOpening and closing an application Pin
squeaky28-Aug-02 6:17
squeaky28-Aug-02 6:17 
I am trying to get my C program to open and close another application.

ShellExecute (NULL,"open","C:/myproject.exe",NULL,NULL,SW_RESTORE);

works to open the application, but I can't get it to close. I've tried

DestroyWindow("C:/myproject.exe");

but it doesn't work. Can anyone tell me what to use for the file reference for DestroyWindow?

Or is there a completely different way to do this better?


squeaky
GeneralRe: Opening and closing an application Pin
Nish Nishant28-Aug-02 12:02
sitebuilderNish Nishant28-Aug-02 12:02 
Questionprocess hwnd? Pin
imran_rafique27-Aug-02 23:10
imran_rafique27-Aug-02 23:10 
Questionhow to use SetWindowsHookEx? Pin
imran_rafique27-Aug-02 22:09
imran_rafique27-Aug-02 22:09 
GeneralHelp:Getting Error While Registering Obj with Remoting Services Pin
Harvail26-Aug-02 19:33
Harvail26-Aug-02 19:33 
GeneralRemoting Example Pin
Harvail26-Aug-02 2:16
Harvail26-Aug-02 2:16 
GeneralRe: Remoting Example Pin
Nish Nishant26-Aug-02 3:18
sitebuilderNish Nishant26-Aug-02 3:18 
Questionhow to use DECLARE_MESSAGE_MAP()? Pin
imran_rafique26-Aug-02 1:22
imran_rafique26-Aug-02 1:22 
GeneralString to Cstring Pin
Anonymous25-Aug-02 15:41
Anonymous25-Aug-02 15:41 
GeneralRe: String to Cstring Pin
Nick Hodapp25-Aug-02 18:17
sitebuilderNick Hodapp25-Aug-02 18:17 
GeneralRe: String to Cstring Pin
Nish Nishant26-Aug-02 2:09
sitebuilderNish Nishant26-Aug-02 2:09 
GeneralRe: String to Cstring Pin
Nick Hodapp26-Aug-02 7:33
sitebuilderNick Hodapp26-Aug-02 7:33 
GeneralRe: String to Cstring Pin
Nish Nishant26-Aug-02 15:03
sitebuilderNish Nishant26-Aug-02 15:03 
GeneralRe: String to Cstring Pin
Doug16-Oct-02 13:00
Doug16-Oct-02 13:00 
QuestionConversion to MC++??? Pin
ydasari25-Aug-02 7:14
ydasari25-Aug-02 7:14 
AnswerRe: Conversion to MC++??? Pin
Nick Hodapp25-Aug-02 11:40
sitebuilderNick Hodapp25-Aug-02 11:40 
GeneralRe: Conversion to MC++??? Pin
Anonymous25-Aug-02 11:52
Anonymous25-Aug-02 11:52 
GeneralRe: Conversion to MC++??? Pin
Nick Hodapp25-Aug-02 18:08
sitebuilderNick Hodapp25-Aug-02 18:08 

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.