473,473 Members | 1,954 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

build c# apps to run without CLR?

Is it possible to build a C# application in such a way so it will run on a
win32 platform but without CLR installed? (on a win95 or win98 for example).
In other words to build just a normal PE file
Jul 21 '05 #1
6 5549
rosty <as****@hotmail.com> wrote:
Is it possible to build a C# application in such a way so it will run on a
win32 platform but without CLR installed? (on a win95 or win98 for example).
In other words to build just a normal PE file


No. I believe a company is working on a way to do this, but it's
basically not the same way that C# (or any .NET assembly, really) was
designed to work.

Note that .NET is available for Win98, just not Win95.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #2
Is it possible to build a C# application in such a way so it will run on a
win32 platform but without CLR installed?


No

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
Jul 21 '05 #3
On Sun, 28 Sep 2003 12:05:20 +0200, "rosty" <as****@hotmail.com>
wrote:
Is it possible to build a C# application in such a way so it will run on a
win32 platform but without CLR installed? (on a win95 or win98 for example).
In other words to build just a normal PE file


That got me curious about something: Let me preface this with: "I've
taken college level "Intro To C++" (using VC++ 6), so I apologize in
advance if it's a stupid question.

Does C++.Net still use MFC, or has that been replaced by the CLR?
Jul 21 '05 #4
C++.NET != VC++
VS6 only have VC++

u write MFC application in VC++
you write .Net application in C#/Vb.Net/C++.Net which interpreted by the CLR

<C+*************@school.now> wrote in message
news:4n********************************@4ax.com...
On Sun, 28 Sep 2003 12:05:20 +0200, "rosty" <as****@hotmail.com>
wrote:
Is it possible to build a C# application in such a way so it will run on awin32 platform but without CLR installed? (on a win95 or win98 for example).In other words to build just a normal PE file


That got me curious about something: Let me preface this with: "I've
taken college level "Intro To C++" (using VC++ 6), so I apologize in
advance if it's a stupid question.

Does C++.Net still use MFC, or has that been replaced by the CLR?

Jul 21 '05 #5
BZZT WRONG
VS .NET has C++ also , MC++ is just exteneions to C++ to allow it to use the
CLR and BCLs.

You can still code MFC apps on VS.NET without the CLR. And plain Win32 in C.
"Action" <am***@hotmail.com> wrote in message
news:uE**************@TK2MSFTNGP11.phx.gbl...
C++.NET != VC++
VS6 only have VC++

u write MFC application in VC++
you write .Net application in C#/Vb.Net/C++.Net which interpreted by the CLR
<C+*************@school.now> wrote in message
news:4n********************************@4ax.com...
On Sun, 28 Sep 2003 12:05:20 +0200, "rosty" <as****@hotmail.com>
wrote:
Is it possible to build a C# application in such a way so it will run
on
awin32 platform but without CLR installed? (on a win95 or win98 for example).In other words to build just a normal PE file


That got me curious about something: Let me preface this with: "I've
taken college level "Intro To C++" (using VC++ 6), so I apologize in
advance if it's a stupid question.

Does C++.Net still use MFC, or has that been replaced by the CLR?


Jul 21 '05 #6
You can build MFC apps in VS.NET and VS 2003, the good old document/view thing,
all C++, using the new MFC libraries (MFC 7.0 and MFC 7.1) - there are still
wizards for building them in SDI/MDI mode etc. That's all still there. I *think*
you can set a /CLR switch if want a basic managed project, and IIRC you get IL
and some managed memory but no managed types unless they're declared in managed
C++ mode.
--
Phil Wilson [MVP Windows Installer]
----
<C+*************@school.now> wrote in message
news:4n********************************@4ax.com...
On Sun, 28 Sep 2003 12:05:20 +0200, "rosty" <as****@hotmail.com>
wrote:
Is it possible to build a C# application in such a way so it will run on a
win32 platform but without CLR installed? (on a win95 or win98 for example).
In other words to build just a normal PE file


That got me curious about something: Let me preface this with: "I've
taken college level "Intro To C++" (using VC++ 6), so I apologize in
advance if it's a stupid question.

Does C++.Net still use MFC, or has that been replaced by the CLR?

Jul 21 '05 #7

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

Similar topics

9
by: deko | last post by:
I'm confused about what I can use C# and VS.NET for. I have both Visual Studio 6.0 and Visual Studio .NET - which one do I use? If I want to build a basic VB app, I assume I can use the VB 6...
6
by: H | last post by:
This is a question that has haunted me for quite some time. if you build a 4 tier database application where the 4th tier is the database server (MS SQL 2000), where do you build the connection...
6
by: ATS | last post by:
HOWTO Make Visual Studio 2003 build .NET 2.0 apps Please help, Can Visual Studio 2003 build .NET 2.0 apps? And if so how? As a test to ensure that it can be done, I want to be able to...
3
by: Mark | last post by:
Ok, I know that .net inherently does not share session data across asp.net projects, but is there any decent work around to this. We already have a big chunk of our application using the asp.net...
6
by: rosty | last post by:
Is it possible to build a C# application in such a way so it will run on a win32 platform but without CLR installed? (on a win95 or win98 for example). In other words to build just a normal PE file
5
by: Rob R. Ainscough | last post by:
I have a moderately sized web application (30 pages, and 20 DLLs) that takes 10-20 minutes to "Build Solution" after I do a "Clean Solution" -- this is ONLY apparent after a "Clean Solution" I...
9
by: yevvi | last post by:
Hi, We have a product with bunch of dlls which are now built with Visual Studio 2003. We want to switch the build to use VS2005. I have read that in VS2005 runtime libraries come as...
3
by: nautonnier | last post by:
This may have been covered before but I didn't find anything after doing a google search. Does VS.NET 2005 have a way to put build or version numbers within aspx pages? I'm envisioning an...
3
by: ajfish | last post by:
Hi, Up until now I have been shipping debug builds of my asp.net application and including the pdb files too, even into production systems, primarily because it gives us proper stack traces with...
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,...
1
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...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.