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. General Programming
  3. C / C++ / MFC
  4. Dos subclassing

Dos subclassing

Scheduled Pinned Locked Moved C / C++ / MFC
question
8 Posts 7 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.
  • A Offline
    A Offline
    aurelcly
    wrote on last edited by
    #1

    Good afternoon Please I want to subclassing dos commands but I don,t know how can I proceed.

    D M L C A 5 Replies Last reply
    0
    • A aurelcly

      Good afternoon Please I want to subclassing dos commands but I don,t know how can I proceed.

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      aurelcly wrote:

      subclassing dos commands

      :confused:

      "One man's wage rise is another man's price increase." - Harold Wilson

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      "Man who follows car will be exhausted." - Confucius

      1 Reply Last reply
      0
      • A aurelcly

        Good afternoon Please I want to subclassing dos commands but I don,t know how can I proceed.

        M Offline
        M Offline
        Maximilien
        wrote on last edited by
        #3

        huh?

        This signature was proudly tested on animals.

        1 Reply Last reply
        0
        • A aurelcly

          Good afternoon Please I want to subclassing dos commands but I don,t know how can I proceed.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          aurelcly wrote:

          I want to subclassing dos commands

          Not possible I'm afraid.

          MVP 2010 - are they mad?

          1 Reply Last reply
          0
          • A aurelcly

            Good afternoon Please I want to subclassing dos commands but I don,t know how can I proceed.

            C Offline
            C Offline
            Code o mat
            wrote on last edited by
            #5

            Try to explain what you mean, as you can see we don't quite get what you mean. Do you maybe mean you want to replace dos commands with your own versions, like, writing your own terminal or such?

            > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

            1 Reply Last reply
            0
            • A aurelcly

              Good afternoon Please I want to subclassing dos commands but I don,t know how can I proceed.

              A Offline
              A Offline
              Avi Berger
              wrote on last edited by
              #6

              Are you actually dealing with a genuine DOS environment or are you talking about a Windows console? I don't know the low level details of the Windows console, but I would not assume that they are the same. Things that you might mean, but we can't tell which, if any: 1) Hook a DOS call. (presumably some int 21h function) 2) Replace an "external" DOS command. (provide a replacement executable earlier on the path) 3) Replace an "internal" DOS command. (I don't think this is going to happen without replacing the command interpreter, but perhaps I'm wrong.)

              L 1 Reply Last reply
              0
              • A Avi Berger

                Are you actually dealing with a genuine DOS environment or are you talking about a Windows console? I don't know the low level details of the Windows console, but I would not assume that they are the same. Things that you might mean, but we can't tell which, if any: 1) Hook a DOS call. (presumably some int 21h function) 2) Replace an "external" DOS command. (provide a replacement executable earlier on the path) 3) Replace an "internal" DOS command. (I don't think this is going to happen without replacing the command interpreter, but perhaps I'm wrong.)

                L Offline
                L Offline
                loyal ginger
                wrote on last edited by
                #7

                Right! INT 21H and such. Sounds quite distant. I guess he is not interested in that type of things. He probably wants to mess with the Windows Console.

                A 1 Reply Last reply
                0
                • L loyal ginger

                  Right! INT 21H and such. Sounds quite distant. I guess he is not interested in that type of things. He probably wants to mess with the Windows Console.

                  A Offline
                  A Offline
                  Avi Berger
                  wrote on last edited by
                  #8

                  loyal ginger wrote:

                  I guess he is not interested in that type of things. He probably wants to mess with the Windows Console.

                  I'd presume so as well. It's not quite so distant for me though. I do some maintenance on an embedded system that uses a board support package that is a partial DOS work alike. I've had to reverse engineer part of its INT 21H implementation to find and patch some bugs in it.

                  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