Click here to Skip to main content
16,011,839 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Pointer? Pin
wow999926-Jul-03 5:15
wow999926-Jul-03 5:15 
GeneralRe: Pointer? Pin
markkuk26-Jul-03 5:19
markkuk26-Jul-03 5:19 
GeneralRe: Pointer? Pin
geo_m26-Jul-03 5:20
geo_m26-Jul-03 5:20 
GeneralRe: Pointer? Pin
XP26-Jul-03 5:24
XP26-Jul-03 5:24 
AnswerRe: Pointer? Pin
wow999926-Jul-03 5:26
wow999926-Jul-03 5:26 
GeneralRe: Pointer? Pin
Maximilien26-Jul-03 5:42
Maximilien26-Jul-03 5:42 
GeneralRe: Pointer? Pin
Ravi Bhavnani26-Jul-03 7:28
professionalRavi Bhavnani26-Jul-03 7:28 
QuestionHow to block execution of GUI programs passed to command.com/cmd.exe Pin
nick4u26-Jul-03 3:47
nick4u26-Jul-03 3:47 
I’m writing telnet program. All chars I get from client socket (except telnet commands of course) I pass to command.com/cmd.exe (running in separate process).
Problem is: when client passes “regedit.exe” for instance – it is run on server machine (Confused | :confused: !!) which is not what I intended …..
So the question is: HOW to protect from running GUI programs by my command interpreter?

(I’m pretty sure it can be done ... in pure DOS you can see the message “This program can not be run in DOS mode … this is what I want)

Please HELP WTF | :WTF:
AnswerRe: How to block execution of GUI programs passed to command.com/cmd.exe Pin
spoulson26-Jul-03 4:55
spoulson26-Jul-03 4:55 
AnswerRe: How to block execution of GUI programs passed to command.com/cmd.exe Pin
Andrew Schetinin26-Jul-03 8:44
Andrew Schetinin26-Jul-03 8:44 
AnswerRe: How to block execution of GUI programs passed to command.com/cmd.exe Pin
Ryan Binns26-Jul-03 20:39
Ryan Binns26-Jul-03 20:39 
Questionsignal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
George226-Jul-03 3:13
George226-Jul-03 3:13 
AnswerRe: signal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
Johnny ²26-Jul-03 4:21
Johnny ²26-Jul-03 4:21 
GeneralRe: signal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
George226-Jul-03 16:36
George226-Jul-03 16:36 
GeneralRe: signal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
Johnny ²26-Jul-03 21:41
Johnny ²26-Jul-03 21:41 
GeneralRe: signal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
George227-Jul-03 1:34
George227-Jul-03 1:34 
GeneralRe: signal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
Johnny ²27-Jul-03 6:55
Johnny ²27-Jul-03 6:55 
GeneralRe: signal(SIGCLD,SIG_IGN) can not prevent zombie process? Pin
George227-Jul-03 15:59
George227-Jul-03 15:59 
Generala strange problemo.. Pin
safee ullah26-Jul-03 3:00
safee ullah26-Jul-03 3:00 
GeneralRe: a strange problemo.. Pin
geo_m26-Jul-03 4:46
geo_m26-Jul-03 4:46 
GeneralRe: a strange problemo.. Pin
safee ullah27-Jul-03 18:01
safee ullah27-Jul-03 18:01 
GeneralOffice XP colors Pin
Xakep26-Jul-03 1:51
Xakep26-Jul-03 1:51 
GeneralRe: Office XP colors Pin
Snyp26-Jul-03 3:09
Snyp26-Jul-03 3:09 
GeneralGeneral question about MFC app with database support Pin
kydfru26-Jul-03 0:39
kydfru26-Jul-03 0:39 
GeneralRe: General question about MFC app with database support Pin
Toni7826-Jul-03 7:40
Toni7826-Jul-03 7:40 

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.