473,388 Members | 1,234 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,388 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 1528
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.