C# to Win32

This is a discussion on C# to Win32 within the C# Programming forums, part of the General Programming Boards category; Hi! Is there any way that i can write a program using C# and then convert it into Win32 so ...

  1. #1
    Android
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    365

    C# to Win32

    Hi!

    Is there any way that i can write a program using C# and then convert it into Win32 so the program can be run on any computer without installing .NET libs? i just heard of something called ngen, can it do the thing?

    Thanks.

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    There is no such thing. ngen will do what the just-in-time (JIT) compiler will do anyway, just earlier, so you don't have to wait for it to do it just-in-time. If you need Win32 executables, you will need to write native code for example in C++ or other languages.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Win32 API help
    By 52Cent in forum Windows Programming
    Replies: 8
    Last Post: 01-23-2008, 09:24 AM
  2. Win32 API or Win32 SDK?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-20-2005, 03:26 PM
  3. Should I do win32
    By caroundw5h in forum Windows Programming
    Replies: 5
    Last Post: 06-07-2004, 09:40 PM
  4. LCC Win32
    By guyver137 in forum Windows Programming
    Replies: 3
    Last Post: 03-03-2003, 07:38 PM
  5. win32 api
    By mikeghet in forum Windows Programming
    Replies: 13
    Last Post: 06-02-2002, 04:30 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21