473,396 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

pure dos applications

H
There are a number of dos applications written in borland C++ 4.51. I want to
convert these into .net; while maintaining the ability to run the
applications on dos machines.
Sep 22 '05 #1
8 1529
H
Sorry, the question was "is this possible and how" any tips for a hello world
app to try

Thanks

H

"H" wrote:
There are a number of dos applications written in borland C++ 4.51. I want to
convert these into .net; while maintaining the ability to run the
applications on dos machines.

Sep 22 '05 #2
Hi H,

I doubt you can install .Net Framework on a pure DOS machine, but you can certainly create console applications running on Windows machines.

On Thu, 22 Sep 2005 16:16:11 +0200, H <H@discussions.microsoft.com> wrote:
There are a number of dos applications written in borland C++ 4.51. I want to
convert these into .net; while maintaining the ability to run the
applications on dos machines.


--
Happy coding!
Morten Wennevik [C# MVP]
Sep 22 '05 #3
Morten Wennevik wrote:
Hi H,

I doubt you can install .Net Framework on a pure DOS machine, but you
can certainly create console applications running on Windows machines.

On Thu, 22 Sep 2005 16:16:11 +0200, H <H@discussions.microsoft.com> wrote:
There are a number of dos applications written in borland C++ 4.51. I
want to
convert these into .net; while maintaining the ability to run the
applications on dos machines.


To run any .Net application you should have atleast .NEt framework
install. because .net framework given CLR which converts the IL code
into the machine dependent laguage.

So, as far as I know you must need .Net framework atleast to run even
console application

HTH

Silent Ocean
Sep 23 '05 #4
H,

The "oldest" Microsoft OS to run a .Net application are W'98 and NT4sp6
(and than not everything)

I hope this helps,

Cor
"H" <H@discussions.microsoft.com> schreef in bericht
news:64**********************************@microsof t.com...
There are a number of dos applications written in borland C++ 4.51. I want
to
convert these into .net; while maintaining the ability to run the
applications on dos machines.

Sep 23 '05 #5
Hi Silent Ocean,

I may have chosen the wrong words, but what I meant is that since you can install .Net Framework on windows systems (with a few exceptions) console applications written for .net will run on windows machines.

I believe there is an exception to this since there are third party solutions that encapsulate .net framework inside their own executable making .net programs runable on non-.net systems.

On Fri, 23 Sep 2005 02:21:48 +0200, Deep Silent Ocean <oc**********@gmail.com> wrote:
Morten Wennevik wrote:
Hi H,

I doubt you can install .Net Framework on a pure DOS machine, but you
can certainly create console applications running on Windows machines.

On Thu, 22 Sep 2005 16:16:11 +0200, H <H@discussions.microsoft.com> wrote:
There are a number of dos applications written in borland C++ 4.51. I
want to
convert these into .net; while maintaining the ability to run the
applications on dos machines.


To run any .Net application you should have atleast .NEt framework
install. because .net framework given CLR which converts the IL code
into the machine dependent laguage.

So, as far as I know you must need .Net framework atleast to run even
console application

HTH

Silent Ocean


--
Happy coding!
Morten Wennevik [C# MVP]
Sep 23 '05 #6
h
The target pc is a nt workstation with sp6.

Ideally I want to write the console application using .Net however there
seams to be a problem with the .Net framework being on this platform.

I need to find a nt workstation pc to test.

any thoughts?

The extra info is that this is for an epos back office pc.

H
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:ue**************@TK2MSFTNGP15.phx.gbl...
H,

The "oldest" Microsoft OS to run a .Net application are W'98 and NT4sp6
(and than not everything)

I hope this helps,

Cor
"H" <H@discussions.microsoft.com> schreef in bericht
news:64**********************************@microsof t.com...
There are a number of dos applications written in borland C++ 4.51. I
want to
convert these into .net; while maintaining the ability to run the
applications on dos machines.


Sep 23 '05 #7
H,

Is it not cheaper to buy a new OS for that workstation than going through
the trouble of finding an equivalent PC to test, while I assume that the
trouble is in the Interop?

(I know that by instance CDO will work only on OS after NT5, however I don't
know really a list what does not work, if it does not work on win32/winFX
than it does for sure not work in Net otherwise you can mostly pass that
with API's.).

I hope this helps,

Cor
Sep 24 '05 #8
h
Upgrading to NT 5 is not an option.

I get the feeling that I will have to use vc++ 6.0 rather than .Net for the
console application.

However, it does help thanks

H
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
H,

Is it not cheaper to buy a new OS for that workstation than going through
the trouble of finding an equivalent PC to test, while I assume that the
trouble is in the Interop?

(I know that by instance CDO will work only on OS after NT5, however I
don't know really a list what does not work, if it does not work on
win32/winFX than it does for sure not work in Net otherwise you can mostly
pass that with API's.).

I hope this helps,

Cor

Sep 24 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: andrew.fabbro | last post by:
I'm looking for an implementation of AES (the Advanced Encryption Standard) in pure Python. I'm aware of pycrypto, but that uses C code. I'm hoping to find something that only uses Python...I'm...
11
by: santosh | last post by:
Hello, I was going through the Marshal Cline's C++ FAQ-Lite. I have a doubt regarding section 33.10. Here he is declaring a pure virtual destructor in the base class. And again defining...
18
by: cjl | last post by:
Hey all: I know that it is silly in the age of Google to 'lose' something on the internet, but I recently checked out a project that had implemented a database with a subset of SQL in pure...
6
by: Drazen Gemic | last post by:
Is there any initiative out there aiming to rewrite PHP extensions in pure PHP ? For example, MySQL driver in pure PHP or LDAP extension in pure PHP ? With Java and, as far as I know, Perl, one...
5
by: | last post by:
Is there a way to create pure old style DLL's? using C#? I need to use these DLL's in a VC 6 project that does not support managed code (as plugins) But the VC 6 code doesn't use Interfaces to...
9
by: Edward Diener | last post by:
I received no answers about this the first time I posted, so I will try again. My inability to decipher an MSDN topic may find others who have the same inability and someone who can decipher and...
8
by: H | last post by:
There are a number of dos applications written in borland C++ 4.51. I want to convert these into .net; while maintaining the ability to run the applications on dos machines.
4
by: John A Grandy | last post by:
What are some best practices for storing pure dates and pure times in .NET ? I notice that DateTime.TimeOfDay() returns type TimeSpan , which is certainly sufficient for storing pure times , but...
15
by: Anna Smidt | last post by:
Sorry, I have a question again: I am trying to debug/ release a CLR application (that uses the FrameWork). No when I try to compile it, it stops in this line in -------mmintrin.h-------- ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.