473,327 Members | 1,952 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,327 software developers and data experts.

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 4952
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.com> escribió en el mensaje
news:cv**********@mail.cn99.com...
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.net> escribió en el mensaje
news:c8**************************@news.microsoft.c om...
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
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...
3
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...
3
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...
4
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...
8
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...
7
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...
1
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...
1
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
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?...
8
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.