|
Jochen Arndt wrote: Please read also the text on top of this page.
. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^] To me, this is more of a technical discussion than a specific programming question and is very valid for the Lounge.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
It doesn't know; it doesn't care.
Once the code is written, it is compiled into a "lower level" language - either Native code (which is a binary form that the processor chip understands directly) or an intermediate language that a secondary system convert to native code as it runs. Both Java and C# compile to an intermediate language (this is IL for C# and JVM for Java) and the .NET framework CLR module uses a "Just In Time - or JIT - compiler to convert that to native code to be executed. In the case of Java it is either compiled in a similar manner of interpreted by the Java runtime as it is executed.
The system doesn't care: the startup code your your app runs the relevant runtime module to process your code invisibly and that runs your application.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: it doesn't care.
Ignorant. Just like OP...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Which is why they asked. Give them a break.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Come on! I want some fun!
By the way- my problem is not with the question asked here - except QA, there is no a better place... My problem is with the question itself as it smells of ignorance... One who really wants to understand these things can do a lot of research (and find the books one has to read), before coming here to ask a questions, that the true answer is book long...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: can do a lot of research I agree. But why can't some of that research be asking and talking with those who already know (i.e. coming here and asking)?
I don't know about you but I started out knowing nothing. I wasn't born knowing. But yes, I started learning before the internet and had to do a lot more work to learn. There is value in that.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
RyanDev wrote: I started learning before the internet and had to do a lot more work to learn. There is value in that.
I think that there is huge value in doing your own research. finding the books, and actually reading them is irreplaceable, that's the reason I do not answer such 'question' like it was valid... not because this is The Lounge, but because it is me...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: before coming here to ask a questions
Oh, is it a big waste of your time to read his question? What are you, some bearded guru on top of a mountain?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Richard Andrew x64 wrote: some bearded naked guru on top bottom of a mountain lake
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
32bit .NET exes look pretty simple, they have an entry point that does
jmp [0x402000]
Which is where _CorExeMain is imported from mscoree.dll, so that's probably what "does the .NET thing".
I couldn't quickly figure out 64bit .NET exes, their entry point is 0 but that would execute the MZ header.. some other magic is going on there.
|
|
|
|
|
It is true that you! can figure out from the EXE from which language it was compiled and even on what compiler and OS, but all that irrelevant to the OS, running your EXE... It cares no, just load and run it... If it has a JMP at the beginning or a NOP it is up to them...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Well that was my point, the OS doesn't have to figure out anything, a 32bit .NET program starts as a native program which itself, by taking that jump, starts up the .NET stuff.
modified 8-May-17 8:51am.
|
|
|
|
|
It is a Q&A question.
Answer: Files have an extension which is a hint how the OS how to interpret some header information in the file.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
I don't know about iOS, but Microsoft and Google have mutual-support data-sharing agreements with the NSA,so they just look it up in a database.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Hmm...
That message took a ridiculously long time to post.
It must be tea-break at the n-s-a HQ.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
I thought for one moment you were going to link to last weeks Oglaf with the same subject - which was (as usual) NSW ...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: Oglaf
What's an OGLAF?
OGLy As F*ck?
I only have a signature in order to let @DalekDave follow my posts.
|
|
|
|
|
It's a cartoon strip. But ... do not, at work, search for it: it is frequently VVNSFWAT1 and should probably not be read by anyone without a mind broad enough to be tied in a bow under your chin.
Can be very funny - but is nearly always very rude.
1: very, very NSFW at all
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: it is frequently VVNSFWAT1 and should probably not be read by anyone without a mind broad enough to be tied in a bow under your chin.
Sounds like my kind of humor.
I only have a signature in order to let @DalekDave follow my posts.
|
|
|
|
|
Just add ".com" to the end.
This weeks is pretty tame...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Just installed Visual Studio 2017 in an effort to examine Xamarin for building apps for deployment everywhere.
1. First thing i notice is that *I can choose a Xamarin app for Android OR iOS? That is confusing to me. I just want to build a Xamarin app that runs everywhere, right?
*EDIT -- Figured this out -- Didn't see this type of project before - it's called Cross-Platform and it's under another section on the Project Template area.
2. Next thing that happens is that Visual Studio 2017 gives me an error when it attempts to run my first app from the Xamarin.Android template. The app builds fine, but it won't start the emulator. VS 2017 failed to add a environment variable ANDROID_SDK_ROOT -- I've documented the problem at:
xamarin - Why won't Visual Studio 2017 run Android emulator? (Gives error ANDROID_SDK_ROOT missing) - Stack Overflow[^]
3. After fixing that, I add two simple controls (Button and EditText) and try to run again. Now the controls will not show up in the app, even though they render properly in the VS 2017 design window.
I've posted a question at:
android layout - In visual studio 2017, why won't xamarin app controls (button, editText) show up? - Stack Overflow[^]
This is the state of EASY DEVELOPMENT and
Quote: Build Once Run Everywhere
So far, I'm meh about the whole thing.
It's much easier for me to use Android Studio.
yes, I happen to be looking for miracles.
I would like to build some apps at lightning speed. It's all a dream though.
modified 7-May-17 19:08pm.
|
|
|
|
|
I've been using Xamarin.Android to build Android apps using VStudio2015/C# with great success. I don't use an emulator, but debug on a physical device (Google Nexus). I find this to be convenient and fast. Haven't yet moved to VS2017.
/ravi
|
|
|
|
|
Ravi Bhavnani wrote: I don't use an emulator, but debug on a physical device (Google Nexus).
That's probably the best option really.
Lately, I've also ran Android Studio from a VM and then I use Genymotion [^] Amazon Web Service which runs android emulators in your browser. YOu just drag/drop your APK on the emulator running in the browser window and it works quite well and amazingly fast.
It was kind of a pain to set up though, but interesting.
|
|
|
|
|
I found that Xamarin was occasionally a pain to install and/or configure.
And VS2017 continue the tradition with a disappointing install experience.
However, once you get it going, it's all good!
My biggest gripe with Xamarin on VS2017 is that it does NOT come with VS Android Emulator.
And one has to go through some hoops to use it...
|
|
|
|