C# & DOS
-
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
-
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
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#
-
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
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
-
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
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
-
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
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#