Click here to Skip to main content
16,009,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionInterProcess Communication Dos Console Win32 GUI Pin
ForNow31-Aug-08 14:26
ForNow31-Aug-08 14:26 
AnswerRe: InterProcess Communication Dos Console Win32 GUI Pin
Bram van Kampen31-Aug-08 15:17
Bram van Kampen31-Aug-08 15:17 
GeneralRe: InterProcess Communication Dos Console Win32 GUI Pin
ForNow31-Aug-08 15:40
ForNow31-Aug-08 15:40 
GeneralRe: InterProcess Communication Dos Console Win32 GUI Pin
Bram van Kampen1-Sep-08 15:49
Bram van Kampen1-Sep-08 15:49 
GeneralRe: InterProcess Communication Dos Console Win32 GUI Pin
ForNow1-Sep-08 17:02
ForNow1-Sep-08 17:02 
GeneralRe: InterProcess Communication Dos Console Win32 GUI Pin
Bram van Kampen3-Sep-08 11:49
Bram van Kampen3-Sep-08 11:49 
GeneralRe: InterProcess Communication Dos Console Win32 GUI Pin
ForNow3-Sep-08 23:27
ForNow3-Sep-08 23:27 
GeneralRe: InterProcess Communication Dos Console Win32 GUI Pin
Bram van Kampen6-Sep-08 15:12
Bram van Kampen6-Sep-08 15:12 
ForNow wrote:
Not being a C++ programmer a plains old WIN32 GUI seems to be a pretty big undertaking


Windows Programs can be written in any language, Machine Code, Asm C, CPP, etc.

Windows is a proprietary Microsoft product, and for it to work, you need the Windows OS on the target Computer.

Microsoft also wrote a large amount of re-distributible library code, which you buy rights to when you buy their compiler. This Library code unifies the Windows User Interface across the world.

You are free to write your own UI in whatever language you choose, but, you are then trying to replicate what was debugged over millions of hours on the microsoft campus.
ForNow wrote:
I understand that unammed pipes were meant WIN32 gui parent and a DOS Console Child process

not the other way around as WIN32 GUI doesn't have stdin/stdout



You misunderstand this. Pipes are a structured method of communication between windows processes. Although the original idea came from the Unix Pipes, the Idea has advanced since. Windows is not aware of a thing like a console process, but uses the Pipe mechanism to implement it.

ForNow wrote:
That being the case would named piped or Windows sockets work for me having a parent dos console process and a win32


The way a DOS program is written, (i.e. Procedural, that means, You write code to ask the user a question, you evaluate the result, ande you decide where to go from there) is a totally different type of program design.

In a Windows program, you react to the user clicking in or on something,
anything at all, and, if you want something specific to happen when they click, you write a piece of code to deal with that event.It is at User level, Not sequential If the User clicks OK, that does not mean that all required entries have been made, that is for you to check (if you use the Micrisoft MFC Library) in the OnOK Handler( the function called when the user clicks on 'OK') If you go for ASM, you've to write this behaviour yourself

Hope this helps Smile | :)

Bram van Kampen

GeneralRe: InterProcess Communication Dos Console Win32 GUI Pin
ForNow6-Sep-08 17:12
ForNow6-Sep-08 17:12 
GeneralRe: InterProcess Communication Dos Console Win32 GUI Pin
Bram van Kampen6-Sep-08 18:34
Bram van Kampen6-Sep-08 18:34 
GeneralRe: InterProcess Communication Dos Console Win32 GUI Pin
ForNow6-Sep-08 18:50
ForNow6-Sep-08 18:50 
AnswerRe: InterProcess Communication Dos Console Win32 GUI Pin
Mckay.Lai31-Aug-08 21:36
Mckay.Lai31-Aug-08 21:36 
GeneralRe: InterProcess Communication Dos Console Win32 GUI Pin
ForNow31-Aug-08 22:14
ForNow31-Aug-08 22:14 
QuestionActiveX - could not reload its state from its data saved.... Pin
charlieg31-Aug-08 11:40
charlieg31-Aug-08 11:40 
AnswerRe: ActiveX - could not reload its state from its data saved.... Pin
charlieg1-Sep-08 18:55
charlieg1-Sep-08 18:55 
QuestionSetting printer options from C++ Pin
Tom Paronis31-Aug-08 9:35
Tom Paronis31-Aug-08 9:35 
AnswerRe: Setting printer options from C++ Pin
Perspx31-Aug-08 10:33
Perspx31-Aug-08 10:33 
GeneralRe: Setting printer options from C++ Pin
Tom Paronis1-Sep-08 4:27
Tom Paronis1-Sep-08 4:27 
GeneralRe: Setting printer options from C++ Pin
Perspx1-Sep-08 4:36
Perspx1-Sep-08 4:36 
AnswerRe: Setting printer options from C++ Pin
Hamid_RT31-Aug-08 18:09
Hamid_RT31-Aug-08 18:09 
Questionset limit text for combobox Pin
hariakuthota31-Aug-08 8:12
hariakuthota31-Aug-08 8:12 
AnswerRe: set limit text for combobox Pin
Perspx31-Aug-08 8:30
Perspx31-Aug-08 8:30 
QuestionTimerQueueTimers..A question.. Pin
montiee31-Aug-08 5:53
montiee31-Aug-08 5:53 
AnswerRe: TimerQueueTimers..A question.. Pin
Mark Salsbery31-Aug-08 7:12
Mark Salsbery31-Aug-08 7:12 
QuestionRe: TimerQueueTimers..A question.. [modified] Pin
montiee1-Sep-08 8:39
montiee1-Sep-08 8: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.