Click here to Skip to main content
15,909,591 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: *** Declaring Array size from User Input *** Pin
Philip Nicoletti27-Sep-00 6:41
Philip Nicoletti27-Sep-00 6:41 
GeneralBring up security dialog Pin
Member 16798026-Sep-00 2:09
Member 16798026-Sep-00 2:09 
GeneralNT function which shows the adminsitrator or user rights Pin
Member 559426-Sep-00 0:23
Member 559426-Sep-00 0:23 
GeneralProperty Sheet Without MFC help please.. Pin
Walid MEDDEB25-Sep-00 23:46
Walid MEDDEB25-Sep-00 23:46 
GeneralRe: Property Sheet Without MFC help please.. Pin
Michael Dunn26-Sep-00 6:30
sitebuilderMichael Dunn26-Sep-00 6:30 
GeneralRe: Property Sheet Without MFC help please.. Pin
Serge Velikevitch26-Sep-00 6:35
sussSerge Velikevitch26-Sep-00 6:35 
Generalreturnvalue message handler Pin
P e t e r25-Sep-00 22:00
P e t e r25-Sep-00 22:00 
GeneralTerminating DOS Process under WinNT/2000 Pin
Ronald L. Russell Jr. (Ron)25-Sep-00 13:19
sussRonald L. Russell Jr. (Ron)25-Sep-00 13:19 
In the project I am currently working on, I need to be able to terminate a variety of processes from my main application. I am currently using TerminateProcess(..) to handle this task, but I have run across an issue with the command prompt.

If the command prompt is running, and having started no application, then TerminateProcess(..) works fine.

If the command prompt has been used to start another application, such as FTP or edit, the the call to TerminateProcess(..) returns a non-negative value, but the command prompt does not exit until the application it is running has exited.

Does anyone know how to programatically force a command prompt to exit regardless of what application it may be running? Any help is greatly appreciated.
GeneralCCheckListBox Base class Pin
jcyoon25-Sep-00 9:27
jcyoon25-Sep-00 9:27 
GeneralRe: CCheckListBox Base class Pin
Sam Hobbs25-Sep-00 12:44
Sam Hobbs25-Sep-00 12:44 
GeneralConvert Date&Time string to DATE type Pin
Tony Li25-Sep-00 5:52
Tony Li25-Sep-00 5:52 
GeneralUnicode/Ansi conversion macros in '.c' files Pin
Chris Vischer25-Sep-00 4:51
Chris Vischer25-Sep-00 4:51 
GeneralRe: Unicode/Ansi conversion macros in '.c' files Pin
Stober27-Sep-00 17:19
Stober27-Sep-00 17:19 
General[Q]Office Automation...(PowerPoint..) with client script Pin
Ryan Park24-Sep-00 23:04
Ryan Park24-Sep-00 23:04 
GeneralColors in my dialog... Pin
Fredrik24-Sep-00 21:35
Fredrik24-Sep-00 21:35 
GeneralBrowsers installed in my system Pin
santhosh kumar s24-Sep-00 21:21
santhosh kumar s24-Sep-00 21:21 
General*** Displaying COleVariant variables *** Pin
Steve Lai24-Sep-00 19:25
Steve Lai24-Sep-00 19:25 
QuestionRGB to 5.6.5 translation? Pin
Erik24-Sep-00 10:33
Erik24-Sep-00 10:33 
AnswerRe: RGB to 5.6.5 translation? Pin
Feng Yuan25-Sep-00 16:10
Feng Yuan25-Sep-00 16:10 
GeneralRe: RGB to 5.6.5 translation? Pin
Erik25-Sep-00 21:32
Erik25-Sep-00 21:32 
QuestionTear-off tabs? Pin
James Corrie23-Sep-00 13:37
sussJames Corrie23-Sep-00 13:37 
AnswerI have some code, but it isn't fineshed. Pin
David Wulff25-Sep-00 5:39
David Wulff25-Sep-00 5:39 
GeneralNo Subject Pin
Anonymous23-Sep-00 13:35
Anonymous23-Sep-00 13:35 
GeneralKeyboard hooks and sending keystrokes! Pin
Mustafa Demirhan23-Sep-00 10:58
Mustafa Demirhan23-Sep-00 10:58 
GeneralStretching Bitmap Problem Pin
mirsad23-Sep-00 3:39
mirsad23-Sep-00 3:39 

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.