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
  1. Home
  2. General Programming
  3. C#
  4. C# & DOS

C# & DOS

Scheduled Pinned Locked Moved C#
csharpasp-netgraphicstutorialquestion
5 Posts 4 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    hey, i know it's kind a silly to ask but does anyone know of a way to conver a C# program into an dos-executable? I do not need the win-32 graphics, just the core routines. Can anyone give he a clou how to do this (without rewriting the whole bunch) Thanx a lot Jeroen

    C U 2 Replies Last reply
    0
    • L Lost User

      hey, i know it's kind a silly to ask but does anyone know of a way to conver a C# program into an dos-executable? I do not need the win-32 graphics, just the core routines. Can anyone give he a clou how to do this (without rewriting the whole bunch) Thanx a lot Jeroen

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      When you create your project, select "Console Application" --Colin Mackay--

      "In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown) Enumerators in .NET: See how to customise foreach loops with C#

      1 Reply Last reply
      0
      • L Lost User

        hey, i know it's kind a silly to ask but does anyone know of a way to conver a C# program into an dos-executable? I do not need the win-32 graphics, just the core routines. Can anyone give he a clou how to do this (without rewriting the whole bunch) Thanx a lot Jeroen

        U Offline
        U Offline
        User 260964
        wrote on last edited by
        #3

        It is impossible to create a -real- DOS application using .NET, but, as said, you can let an application run in a console (some kind of DOS-box). This is just fake Windows without UI. - Daniël Pelsmaeker


        U 1 Reply Last reply
        0
        • U User 260964

          It is impossible to create a -real- DOS application using .NET, but, as said, you can let an application run in a console (some kind of DOS-box). This is just fake Windows without UI. - Daniël Pelsmaeker


          U Offline
          U Offline
          User 746379
          wrote on last edited by
          #4

          In the end it has to run on a genuine DOS pc, an old 286 laptop, but since working on that laptop is hard to do (tiny B/W screen) so therefor I'm trying to write C# on my pc an then move the .exe to teh laptop. But I'm unfamiliar to consoles, what should I thick of? something like cmd under win xp? And further on does dos accepst dll's? regards Jeroen

          C 1 Reply Last reply
          0
          • U User 746379

            In the end it has to run on a genuine DOS pc, an old 286 laptop, but since working on that laptop is hard to do (tiny B/W screen) so therefor I'm trying to write C# on my pc an then move the .exe to teh laptop. But I'm unfamiliar to consoles, what should I thick of? something like cmd under win xp? And further on does dos accepst dll's? regards Jeroen

            C Offline
            C Offline
            Colin Angus Mackay
            wrote on last edited by
            #5

            The .NET Framework is only supported for Windows 98 and onwards. And very soon Microsoft will be dropping support for Windows 98 anyway. Consider writing your DOS application in a system that was designed for that platform such as C/C++ --Colin Mackay--

            "In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown) Enumerators in .NET: See how to customise foreach loops with 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