473,545 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how can i compile csharp code to machine code permanently?

it is also obvious that if i could make win32 programs with vs.c#?
Nov 16 '05 #1
3 4959
C# can create only .NET (managed) apps, not native Win32 apps. But see if
the Native Image Generator (Ngen.exe) can help in your scenario:

http://msdn.microsoft.com/library/de...torngenexe.asp
--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
"putchar" <pu*****@msn.co m> escribió en el mensaje
news:cv******** **@mail.cn99.co m...
it is also obvious that if i could make win32 programs with vs.c#?

Nov 16 '05 #2
p> it is also obvious that if i could make win32 programs with vs.c#?

You already can. What's the problem?

--
Serge
Nov 16 '05 #3
I think he refers to "native" Win32 programs, not "managed" programs which
need the .NET runtimes.

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
"Serge Baltic" <ns*@hypersw.ne t> escribió en el mensaje
news:c8******** *************** ***@news.micros oft.com...
p> it is also obvious that if i could make win32 programs with vs.c#?

You already can. What's the problem?

--
Serge

Nov 16 '05 #4

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

Similar topics

0
1676
by: Johnathan Doe | last post by:
I've been thinking about what the issues would be in compiling Python into native machine code, and since type information is important in Python, it seems possible that Python code can be compiled into native machine code (albeit with a lot of extra effort). For instance, type information is discovered when something is assigned to a...
3
1569
by: wikoh | last post by:
Why do .net compilers build exe:s with a piece of machine code in the beginning to launch clr/jit? That makes the program no longer cpu independent but still slow because the app itself (msil) must be compiled... Are .net DLLs the same, ie they have to be for the right cpu?
3
2491
by: MBS | last post by:
As far as I know PHP code is always a script which is interpreted by the PHP interpreter, compiled to machine code, then executed by the CPU. Much like Java, one could say. (I am not talking about the source code to PHP itself; rather, the code that one using the PHP language would write.) However, since the interpreter has to compile the...
4
5530
by: Carlo Marchesoni | last post by:
I have a button that opens a new Window (some kind of search-window), which is fired using JavaScript (btnSearch.Attributes=".....";) Now I need to run some code behind code BEFORE this JavaScript runs. I tried to define another Button with an EventHandler associated, and from this (after doing my code) fire 'btnSearch.click()'. But I can't make...
8
1744
by: neilmcguigan | last post by:
I just wanted to list some reasons why I prefer inline code to code-behind. 1. you can fix some bugs more quickly. remote desktop into server, change the aspx file, and she's good to go. I'd say this is one of the major reasons classic ASP became so popular. 2. don't have to upload the large codebehind site DLL to fix one bug. 3....
7
1433
by: andreas | last post by:
Hi, I presume that I pose now a verry silly question. Is it possible to make a vb.net program a pure exe program, like in the old days, in machine code so that it works always with a intel pentium processor PC and without framework? Thanks for any response
1
1693
by: kalaivanan | last post by:
hi, how should i compile csharp programs in the cmd command prompt without being installing visual studio .net. I have installed framework 1.1 and sdk. also i have executed the vsvars32 btach file. still iam not able to compile the csharp file. the error generated is: csc is not recognized as internal or external command. But in another...
1
1203
by: John Dalberg | last post by:
I have tens of aspx files which contain server side code. I need to move the code to code behind files. Is there a tool that can automate this? John Dalberg
2
1676
myusernotyours
by: myusernotyours | last post by:
hi all, I'd like to know whether it's possible to compile a java program into actual machine code so that the program runs without the need for the Java Runtime. If it's possible how can it be done? Thanks in advance.
8
2374
by: MisterE | last post by:
Is it possible to create a pointer to a function, and then get its size (the actual size the function takes in machine code), such that you can copy the function to another memory location. You could then modify it (I know it would be modifing the machine code) and then call the modified function via a function pointer?
0
7479
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7411
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7669
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7926
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7439
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5343
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4962
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1028
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.