Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Other Discussions
  3. The Back Room
  4. Tell me one thing....

Tell me one thing....

Scheduled Pinned Locked Moved The Back Room
csharpc++asp-netquestion
10 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rickard Andersson20
    wrote on last edited by
    #1

    How can a "Win32 Console Application" be a MS-DOS application? :wtf::~ Have I missed something? Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++!

    P M 2 Replies Last reply
    0
    • R Rickard Andersson20

      How can a "Win32 Console Application" be a MS-DOS application? :wtf::~ Have I missed something? Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++!

      P Offline
      P Offline
      peterchen
      wrote on last edited by
      #2

      Rickard Andersson wrote: "Win32 Console Application" be a MS-DOS application? where did you find this? There is a way, however, to create a combined DOS/Win32 exe.


      So many people long for eternity that don't know what to do on a rainy sunday afternoon.
      [sighist] | [Agile Programming] [doxygen]
      If you look for evil in me you will find it whether it's there or not.

      A R 2 Replies Last reply
      0
      • P peterchen

        Rickard Andersson wrote: "Win32 Console Application" be a MS-DOS application? where did you find this? There is a way, however, to create a combined DOS/Win32 exe.


        So many people long for eternity that don't know what to do on a rainy sunday afternoon.
        [sighist] | [Agile Programming] [doxygen]
        If you look for evil in me you will find it whether it's there or not.

        A Offline
        A Offline
        Andreas Saurwein
        wrote on last edited by
        #3

        peterchen wrote: There is a way, however, to create a combined DOS/Win32 exe. :omg::wtf: How this? I mean you can have a NE header instead of a PE header in you exe and it still can be Win32 (there are some weird executables in the system32) but how can you have a mixed mode executable?


        ... you keep forgetting that sheep shagging is not a crime in Australia ...Paul Watson, The Lounge

        S 1 Reply Last reply
        0
        • P peterchen

          Rickard Andersson wrote: "Win32 Console Application" be a MS-DOS application? where did you find this? There is a way, however, to create a combined DOS/Win32 exe.


          So many people long for eternity that don't know what to do on a rainy sunday afternoon.
          [sighist] | [Agile Programming] [doxygen]
          If you look for evil in me you will find it whether it's there or not.

          R Offline
          R Offline
          Rickard Andersson20
          wrote on last edited by
          #4

          peterchen wrote: where did you find this? My previous post "Morons!! All of them!!" What I understand from Marcs answer, he says it IS DOS... What Christian said.... I don't want to comment that yet... But it could have been a missunderstanding... What I meant with "console mode" in my reply to Marc was "Win32 Console Application". "Console mode" perhaps is a designation of DOS or something!? Building "Win32 Console application" is nothing wrong with... But DOS... it's dead... no one at home really use DOS and want to use it! Answer me, do you use DOS applications: 1) Often 2) Sometimes, not often but sometimes. 3) Not now anymore! 4) NEVER! Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++!

          J M 2 Replies Last reply
          0
          • A Andreas Saurwein

            peterchen wrote: There is a way, however, to create a combined DOS/Win32 exe. :omg::wtf: How this? I mean you can have a NE header instead of a PE header in you exe and it still can be Win32 (there are some weird executables in the system32) but how can you have a mixed mode executable?


            ... you keep forgetting that sheep shagging is not a crime in Australia ...Paul Watson, The Lounge

            S Offline
            S Offline
            Shog9 0
            wrote on last edited by
            #5

            AFAIK, PE executables still have the old DOS "MZ" header & a small bit of code attached (it prints "this program cannot run in MS-DOS mode" or some such). By replacing this stub with something more substantial, you can have a single executable that runs in both environments. Though i haven't seen one in a long, *long* time. Back in the 16-bit OS/2 days, it was possible to actually create an executable where the same code would run in both environments (the DOS stub would do some fixup for the rest of the code or something). It sounds like a terribly stupid idea, but i think some of the simpler OS/2 command line utilities were done this way, as they needed to be usable no matter what "mode" was active.

            Shog9

            The Man. The Legend. The Bored, Narcissistic, Whiteboard-marker Sniffing Programmer.

            1 Reply Last reply
            0
            • R Rickard Andersson20

              peterchen wrote: where did you find this? My previous post "Morons!! All of them!!" What I understand from Marcs answer, he says it IS DOS... What Christian said.... I don't want to comment that yet... But it could have been a missunderstanding... What I meant with "console mode" in my reply to Marc was "Win32 Console Application". "Console mode" perhaps is a designation of DOS or something!? Building "Win32 Console application" is nothing wrong with... But DOS... it's dead... no one at home really use DOS and want to use it! Answer me, do you use DOS applications: 1) Often 2) Sometimes, not often but sometimes. 3) Not now anymore! 4) NEVER! Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++!

              J Offline
              J Offline
              Jon Newman
              wrote on last edited by
              #6

              Rickard Andersson wrote: 2) Sometimes, not often but sometimes. Only when I can't access a FAT32 drive through windows, i.e. during a windows 9x corruption i'll use a DOS boot disk to sort it. But I don't like doing it.

              "Where would you rather be today?"

              1 Reply Last reply
              0
              • R Rickard Andersson20

                peterchen wrote: where did you find this? My previous post "Morons!! All of them!!" What I understand from Marcs answer, he says it IS DOS... What Christian said.... I don't want to comment that yet... But it could have been a missunderstanding... What I meant with "console mode" in my reply to Marc was "Win32 Console Application". "Console mode" perhaps is a designation of DOS or something!? Building "Win32 Console application" is nothing wrong with... But DOS... it's dead... no one at home really use DOS and want to use it! Answer me, do you use DOS applications: 1) Often 2) Sometimes, not often but sometimes. 3) Not now anymore! 4) NEVER! Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++!

                M Offline
                M Offline
                Michael Dunn
                wrote on last edited by
                #7

                Rickard Andersson wrote: 1) Often I use 4DOS as my shell I use a few apps from a DOS version of Norton Utilities, such as ts.exe to search for text in files. --Mike-- The Internet is a place where absolutely nothing happens.   -- Strong Bad 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm

                R 1 Reply Last reply
                0
                • R Rickard Andersson20

                  How can a "Win32 Console Application" be a MS-DOS application? :wtf::~ Have I missed something? Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++!

                  M Offline
                  M Offline
                  Michael Dunn
                  wrote on last edited by
                  #8

                  Rickard Andersson wrote: How can a "Win32 Console Application" be a MS-DOS application? It's not. A console application is still a Win32 app, it just runs in a console window instead of creating its own windows for its UI. Note that "console window" != "DOS session". This is where newbies get confused. They see something using text output and start screaming "AAAAHHH!!!! DOS!!!! EVIL!!!!" A console window is just a text-based output display, nothing more. --Mike-- The Internet is a place where absolutely nothing happens.   -- Strong Bad 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm

                  R 1 Reply Last reply
                  0
                  • M Michael Dunn

                    Rickard Andersson wrote: 1) Often I use 4DOS as my shell I use a few apps from a DOS version of Norton Utilities, such as ts.exe to search for text in files. --Mike-- The Internet is a place where absolutely nothing happens.   -- Strong Bad 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm

                    R Offline
                    R Offline
                    Rickard Andersson20
                    wrote on last edited by
                    #9

                    Daoh! (Homer Sompsons' speech) Well, okay... DOS perhaps IS good sometimes... :(( Perhaps I should learn more about it... I like when things are text based. It gives that "hacker" feeling ! :-D Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++!

                    1 Reply Last reply
                    0
                    • M Michael Dunn

                      Rickard Andersson wrote: How can a "Win32 Console Application" be a MS-DOS application? It's not. A console application is still a Win32 app, it just runs in a console window instead of creating its own windows for its UI. Note that "console window" != "DOS session". This is where newbies get confused. They see something using text output and start screaming "AAAAHHH!!!! DOS!!!! EVIL!!!!" A console window is just a text-based output display, nothing more. --Mike-- The Internet is a place where absolutely nothing happens.   -- Strong Bad 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm

                      R Offline
                      R Offline
                      Rickard Andersson20
                      wrote on last edited by
                      #10

                      Michael Dunn wrote: "console window" != "DOS session". I can't remember HOW MANY people I have tried telling that a console window IS NOT a DOS application. I'll keep this message from you as proof! :) Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++!

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups