Hi,
I made a console program in C# and it works for me. Now I sent it to someone
else and he can't run it. Program error or something. His OS is in Swedish.
What could this be? Does he have to have the .NET FrameWork installed to run
..NET programs? I sent it to him once as exe and another time as an ace, so I
don't think it got messed up during transfer. Any thoughts? 10 2467
An,
..NET programs aren't compiled into binaries that can be directly loaded and
run. .NET programs are compiled into MSIL (Microsoft Intermediate Language)
which is a soft of machine code for the .NET CLR (Common Language Runtime).
In short, your friend is going to need to install the .NET Framework Runtime
(not SDK) before he/she can use your program.
-Mark
"An Ony" <no*****@somewhere.net> wrote in message
news:#N*************@tk2msftngp13.phx.gbl... Hi,
I made a console program in C# and it works for me. Now I sent it to
someone else and he can't run it. Program error or something. His OS is in
Swedish. What could this be? Does he have to have the .NET FrameWork installed to
run .NET programs? I sent it to him once as exe and another time as an ace, so
I don't think it got messed up during transfer. Any thoughts?
An,
..NET programs aren't compiled into binaries that can be directly loaded and
run. .NET programs are compiled into MSIL (Microsoft Intermediate Language)
which is a soft of machine code for the .NET CLR (Common Language Runtime).
In short, your friend is going to need to install the .NET Framework Runtime
(not SDK) before he/she can use your program.
-Mark
"An Ony" <no*****@somewhere.net> wrote in message
news:#N*************@tk2msftngp13.phx.gbl... Hi,
I made a console program in C# and it works for me. Now I sent it to
someone else and he can't run it. Program error or something. His OS is in
Swedish. What could this be? Does he have to have the .NET FrameWork installed to
run .NET programs? I sent it to him once as exe and another time as an ace, so
I don't think it got messed up during transfer. Any thoughts?
I was hoping that the framework was only needed to run .NET code on internet
websites and not to run .NET C++, C# and VB code! I wanted to stop
developing Java programs because clients always needed the virtual machine
and now it's just the same with .NET ?!
Are there papers on how fast this .NET code is then? Java was too slow for
me, mainly because of the code that had to be recompiled before you could
run it. Is this happening with .NET code too?
"Mark Jen [MSFT]" <ma*****@online.microsoft.com> schreef in bericht
news:%2****************@TK2MSFTNGP09.phx.gbl... An,
.NET programs aren't compiled into binaries that can be directly loaded
and run. .NET programs are compiled into MSIL (Microsoft Intermediate
Language) which is a soft of machine code for the .NET CLR (Common Language
Runtime). In short, your friend is going to need to install the .NET Framework
Runtime (not SDK) before he/she can use your program.
-Mark
"An Ony" <no*****@somewhere.net> wrote in message news:#N*************@tk2msftngp13.phx.gbl... Hi,
I made a console program in C# and it works for me. Now I sent it to someone else and he can't run it. Program error or something. His OS is in Swedish. What could this be? Does he have to have the .NET FrameWork installed to run .NET programs? I sent it to him once as exe and another time as an ace,
so I don't think it got messed up during transfer. Any thoughts?
I was hoping that the framework was only needed to run .NET code on internet
websites and not to run .NET C++, C# and VB code! I wanted to stop
developing Java programs because clients always needed the virtual machine
and now it's just the same with .NET ?!
Are there papers on how fast this .NET code is then? Java was too slow for
me, mainly because of the code that had to be recompiled before you could
run it. Is this happening with .NET code too?
"Mark Jen [MSFT]" <ma*****@online.microsoft.com> schreef in bericht
news:%2****************@TK2MSFTNGP09.phx.gbl... An,
.NET programs aren't compiled into binaries that can be directly loaded
and run. .NET programs are compiled into MSIL (Microsoft Intermediate
Language) which is a soft of machine code for the .NET CLR (Common Language
Runtime). In short, your friend is going to need to install the .NET Framework
Runtime (not SDK) before he/she can use your program.
-Mark
"An Ony" <no*****@somewhere.net> wrote in message news:#N*************@tk2msftngp13.phx.gbl... Hi,
I made a console program in C# and it works for me. Now I sent it to someone else and he can't run it. Program error or something. His OS is in Swedish. What could this be? Does he have to have the .NET FrameWork installed to run .NET programs? I sent it to him once as exe and another time as an ace,
so I don't think it got messed up during transfer. Any thoughts?
"An Ony" <no*****@somewhere.net> wrote in message
news:eJ**************@TK2MSFTNGP12.phx.gbl... I was hoping that the framework was only needed to run .NET code on
internet websites and not to run .NET C++, C# and VB code! I wanted to stop developing Java programs because clients always needed the virtual
machine and now it's just the same with .NET ?!
Your clients will need the .NET runtime. This is already packaged in
windows server 2003, and Microsoft says it will be integrated into
future versions of windows, but in the meantime, your friends will
need to specifically download the runtime (or you can give it to them
on CD!).
Are there papers on how fast this .NET code is then?
You can search through this and comp.lang.java.advocacy newgroups and
find many people who have tried to compare the two, always with an app
that shows just one aspect of a language. Technically, Microsoft
restricts people from publishing any such papers comparing the two, so
there aren't many (any) out there that are really balanced (IMO).
There are a lot of people on the NG who also use / used Java so their
opinions may be quite valid here.
Java was too slow for me, mainly because of the code that had to be recompiled before you
could run it. Is this happening with .NET code too?
..NET, like Java, uses a Just-In-Time compiler. Here's an article that
talks some about the JIT compiler in .NET and why it may not hurt you
as much as you think. http://www.wintellect.com/resources/...ghts_NGen.html
I guess I'm curious what part of Java was too slow for you? Was it
really the re-compiling that was slowing it down (how do you know)?
Not the garbage collection? Or other aspects of a having a "runtime"
or "virutal machine". I personally felt that Java GUI's (especially
swing) felt slow, but I think that's more to do with the number of
APIs and classes being used. I haven't experienced that with .NET
(probably because it's more closely integrated with the windows APIs).
As for pure number crunching, I doubt you'd find much difference at
all.
( http://weblogs.cs.cornell.edu/AllThi...es/000052.html
shows very little difference for what it's worth). Another ng post
showed java's regular expressions compiled faster than .NETs. So
there's also just the efficiency of the classes that you use (java.*
vs. System.*)
I guess you could give up managed code and write in C++. But what a
pain!
Oh, and C# does provide for "unsafe" code that can use C++ style
pointers when you have some really intense algorithms that can benefit
from direct array access.
Just my two-cents.
Mike
"An Ony" <no*****@somewhere.net> wrote in message
news:eJ**************@TK2MSFTNGP12.phx.gbl... I was hoping that the framework was only needed to run .NET code on
internet websites and not to run .NET C++, C# and VB code! I wanted to stop developing Java programs because clients always needed the virtual
machine and now it's just the same with .NET ?!
Your clients will need the .NET runtime. This is already packaged in
windows server 2003, and Microsoft says it will be integrated into
future versions of windows, but in the meantime, your friends will
need to specifically download the runtime (or you can give it to them
on CD!).
Are there papers on how fast this .NET code is then?
You can search through this and comp.lang.java.advocacy newgroups and
find many people who have tried to compare the two, always with an app
that shows just one aspect of a language. Technically, Microsoft
restricts people from publishing any such papers comparing the two, so
there aren't many (any) out there that are really balanced (IMO).
There are a lot of people on the NG who also use / used Java so their
opinions may be quite valid here.
Java was too slow for me, mainly because of the code that had to be recompiled before you
could run it. Is this happening with .NET code too?
..NET, like Java, uses a Just-In-Time compiler. Here's an article that
talks some about the JIT compiler in .NET and why it may not hurt you
as much as you think. http://www.wintellect.com/resources/...ghts_NGen.html
I guess I'm curious what part of Java was too slow for you? Was it
really the re-compiling that was slowing it down (how do you know)?
Not the garbage collection? Or other aspects of a having a "runtime"
or "virutal machine". I personally felt that Java GUI's (especially
swing) felt slow, but I think that's more to do with the number of
APIs and classes being used. I haven't experienced that with .NET
(probably because it's more closely integrated with the windows APIs).
As for pure number crunching, I doubt you'd find much difference at
all.
( http://weblogs.cs.cornell.edu/AllThi...es/000052.html
shows very little difference for what it's worth). Another ng post
showed java's regular expressions compiled faster than .NETs. So
there's also just the efficiency of the classes that you use (java.*
vs. System.*)
I guess you could give up managed code and write in C++. But what a
pain!
Oh, and C# does provide for "unsafe" code that can use C++ style
pointers when you have some really intense algorithms that can benefit
from direct array access.
Just my two-cents.
Mike
okay, I'll check all those sites...
but my program still isn't running. Someone has the Server edition 2003,
gives an error. My other contacts went to windowsupdate and that didn't say
that they could install .NET so it probably is installed already and my
program still doesn't run over there.
What now?
"Michael Mayer" <mr*****@charter.net> schreef in bericht
news:%2****************@TK2MSFTNGP11.phx.gbl... "An Ony" <no*****@somewhere.net> wrote in message news:eJ**************@TK2MSFTNGP12.phx.gbl... I was hoping that the framework was only needed to run .NET code on internet websites and not to run .NET C++, C# and VB code! I wanted to stop developing Java programs because clients always needed the virtual machine and now it's just the same with .NET ?! Your clients will need the .NET runtime. This is already packaged in windows server 2003, and Microsoft says it will be integrated into future versions of windows, but in the meantime, your friends will need to specifically download the runtime (or you can give it to them on CD!).
Are there papers on how fast this .NET code is then? You can search through this and comp.lang.java.advocacy newgroups and find many people who have tried to compare the two, always with an app that shows just one aspect of a language. Technically, Microsoft restricts people from publishing any such papers comparing the two, so there aren't many (any) out there that are really balanced (IMO). There are a lot of people on the NG who also use / used Java so their opinions may be quite valid here.
Java was too slow for me, mainly because of the code that had to be recompiled before you could run it. Is this happening with .NET code too?
.NET, like Java, uses a Just-In-Time compiler. Here's an article that talks some about the JIT compiler in .NET and why it may not hurt you as much as you think. http://www.wintellect.com/resources/...ghts_NGen.html I guess I'm curious what part of Java was too slow for you? Was it really the re-compiling that was slowing it down (how do you know)? Not the garbage collection? Or other aspects of a having a "runtime" or "virutal machine". I personally felt that Java GUI's (especially swing) felt slow, but I think that's more to do with the number of APIs and classes being used. I haven't experienced that with .NET (probably because it's more closely integrated with the windows APIs). As for pure number crunching, I doubt you'd find much difference at all. ( http://weblogs.cs.cornell.edu/AllThi...es/000052.html shows very little difference for what it's worth). Another ng post showed java's regular expressions compiled faster than .NETs. So there's also just the efficiency of the classes that you use (java.* vs. System.*)
I guess you could give up managed code and write in C++. But what a pain!
Oh, and C# does provide for "unsafe" code that can use C++ style pointers when you have some really intense algorithms that can benefit from direct array access.
Just my two-cents. Mike
okay, I'll check all those sites...
but my program still isn't running. Someone has the Server edition 2003,
gives an error. My other contacts went to windowsupdate and that didn't say
that they could install .NET so it probably is installed already and my
program still doesn't run over there.
What now?
"Michael Mayer" <mr*****@charter.net> schreef in bericht
news:%2****************@TK2MSFTNGP11.phx.gbl... "An Ony" <no*****@somewhere.net> wrote in message news:eJ**************@TK2MSFTNGP12.phx.gbl... I was hoping that the framework was only needed to run .NET code on internet websites and not to run .NET C++, C# and VB code! I wanted to stop developing Java programs because clients always needed the virtual machine and now it's just the same with .NET ?! Your clients will need the .NET runtime. This is already packaged in windows server 2003, and Microsoft says it will be integrated into future versions of windows, but in the meantime, your friends will need to specifically download the runtime (or you can give it to them on CD!).
Are there papers on how fast this .NET code is then? You can search through this and comp.lang.java.advocacy newgroups and find many people who have tried to compare the two, always with an app that shows just one aspect of a language. Technically, Microsoft restricts people from publishing any such papers comparing the two, so there aren't many (any) out there that are really balanced (IMO). There are a lot of people on the NG who also use / used Java so their opinions may be quite valid here.
Java was too slow for me, mainly because of the code that had to be recompiled before you could run it. Is this happening with .NET code too?
.NET, like Java, uses a Just-In-Time compiler. Here's an article that talks some about the JIT compiler in .NET and why it may not hurt you as much as you think. http://www.wintellect.com/resources/...ghts_NGen.html I guess I'm curious what part of Java was too slow for you? Was it really the re-compiling that was slowing it down (how do you know)? Not the garbage collection? Or other aspects of a having a "runtime" or "virutal machine". I personally felt that Java GUI's (especially swing) felt slow, but I think that's more to do with the number of APIs and classes being used. I haven't experienced that with .NET (probably because it's more closely integrated with the windows APIs). As for pure number crunching, I doubt you'd find much difference at all. ( http://weblogs.cs.cornell.edu/AllThi...es/000052.html shows very little difference for what it's worth). Another ng post showed java's regular expressions compiled faster than .NETs. So there's also just the efficiency of the classes that you use (java.* vs. System.*)
I guess you could give up managed code and write in C++. But what a pain!
Oh, and C# does provide for "unsafe" code that can use C++ style pointers when you have some really intense algorithms that can benefit from direct array access.
Just my two-cents. Mike
"An Ony" <no*****@somewhere.net> wrote in message
news:u9**************@TK2MSFTNGP10.phx.gbl... okay, I'll check all those sites... but my program still isn't running. Someone has the Server edition
2003, gives an error. My other contacts went to windowsupdate and that
didn't say that they could install .NET so it probably is installed already and
my program still doesn't run over there. What now?
I assume it still runs on your pc? You originally said that it was
bombing on a swedish windows os. Have you tried on other PC's of your
same culture?
What's the error message?
Can you narrow it down to a short-but complete program that reproduces
the problem? http://www.pobox.com/~skeet/csharp/complete.html
More details would help us out here.
Mike
"An Ony" <no*****@somewhere.net> wrote in message
news:u9**************@TK2MSFTNGP10.phx.gbl... okay, I'll check all those sites... but my program still isn't running. Someone has the Server edition
2003, gives an error. My other contacts went to windowsupdate and that
didn't say that they could install .NET so it probably is installed already and
my program still doesn't run over there. What now?
I assume it still runs on your pc? You originally said that it was
bombing on a swedish windows os. Have you tried on other PC's of your
same culture?
What's the error message?
Can you narrow it down to a short-but complete program that reproduces
the problem? http://www.pobox.com/~skeet/csharp/complete.html
More details would help us out here.
Mike This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tom Lee |
last post by:
Hi,
I'm new to .NET 2003 compiler. When I tried to compile my
program using DEBUG mode, I got the following errors in the
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\include\xdebug...
|
by: William J. Leary Jr. |
last post by:
I'm running a VB6 program, the IDE for a compiler.
Paste doesn't work if the text was cut/copied from within the program.
That is:
1. Cut/copy inside the program, can't paste.
Program:...
|
by: Zalek Bloom |
last post by:
Actually I would like to know what additional JCL I will need if a
COBOL non-DB2 program is calling to a COBOL/DB2 program. The original
non-DB2 program is executed using:
//STEP1 EXEC ...
|
by: Erik |
last post by:
Hi Everyone,
I'm having real problems compiling some source for eVC4++. The errors
I am getting are below:
It all seems to be centred around winsock. If I move the afsock.h
reference to before...
|
by: Roy Gourgi |
last post by:
Hi,
I am new to C#. I have the same time scheduling program written in C++ and
it is 5 times faster than my version in C#.
Why is it so slow as I thought that C# was only a little slower than...
|
by: John Fly |
last post by:
I'm working on a large project(from scratch). The program is
essentially a data file processor, the overall view is this:
A data file is read in, validated and stored in a memory structure...
|
by: Sree |
last post by:
hello friends,
Can i make a C program run as as background service?
for eg. like the windows services we have.
which are not visible on the desktop but still running behind.
If there is some...
|
by: Jim Lewis |
last post by:
Pickling an instance of a class, gives "can't pickle instancemethod
objects". What does this mean? How do I find the class method creating
the problem?
|
by: zaidalin79 |
last post by:
I have a java class that goes for another week or so, and I am going to fail if I can't figure out this simple program. I can't get anything to compile to at least get a few points... Here are the...
|
by: cybervigilante |
last post by:
I can't seem to change the include path on my local winmachine no
matter what I do. It comes up as
includ_path .;C:\php5\pear in phpinfo() but there is no such file. I
installed the WAMP package...
|
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...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
|
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |