Re: just starting





On 28 Jan, 04:24, sterling.mc...@xxxxxxxxx wrote:

So I am fooling around with C and compile a small .exe file with
Miracle C ... simple thing that said Hi my name is etc etc ... but I
noticed that it loads in a dos window ...

My question is this ... is there a way in C or C++ to write this into
the test.exe I made that simply shows "my name is .... "

Unfortunately, writing "proper" Windows programs is extremely
complicated. The book I am using, "Programming Windows" by Charles
Petzold, doesn't cover actually showing text until chapter three,
spending the first two chapters covering simpler stuff. What could
possibly be simpler, you are no doubt thinking - well, just creating a
window is not easy.

So you need to decide whether you are prepared to put in all this
effort, or whether you are happy to write what are in effect DOS
programs and have the system treat them as such.

Best of luck!
Paul.

.



Relevant Pages

  • Re: Network Drive Issue
    ... It was stuck too. ... > Open DOS box and tried to switch drives: ... > At some point the DOS window showed the S: ...
    (microsoft.public.win32.programmer.kernel)
  • Re: DOS window.
    ... the w98 dos window is particularly crap, as I can't specify a buffer size. ... more complex commands in a notepad window (always saved in a file called ...
    (comp.lang.perl.misc)
  • Re: run command
    ... But remember that's a limit on *memory variables* and the command I ... statement in your script. ... Hides the window and activates another window. ... The cj.txt was copied and the DOS window remained open. ...
    (microsoft.public.fox.helpwanted)
  • Re: run command
    ... The owner wants a header record put on these data files. ... Integer value indicating the appearance of the program's window. ... The active window remains active. ... I typed exit in the DOS window to allow the FoxPro program to continue. ...
    (microsoft.public.fox.helpwanted)
  • Re: run command
    ... I have a directory full of delimited data files to process. ... Hides the window and activates another window. ... Activates the window and displays it as a minimized window. ... The cj.txt was copied and the DOS window remained open. ...
    (microsoft.public.fox.helpwanted)