exe file problems

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply

Join Date: Jul 2007
Posts: 9
Reputation: I_TRY has a little shameless behaviour in the past 
Solved Threads: 0
I_TRY I_TRY is offline Offline
Newbie Poster

exe file problems

 
0
  #1
Jul 14th, 2007
I make an exe file on notepad, save it as a .exe and try to launch it but it says:

"The NTVDM CPU has encountered an illegal instruction"

What does this mean and how can I get a .exe file to work properly?
Sorry if this has already been asked but I could not find a thread about it.

Thanks.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 2,039
Reputation: Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice 
Solved Threads: 139
Team Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Super Senior Demiposter

Re: exe file problems

 
0
  #2
Jul 14th, 2007
Exe files have to follow a certain format, and not every piece of machine code forms valid instructions. Yours was broken. You'd probably want to take some source code and compile it, if you want to create an exe.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,086
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 125
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic

Re: exe file problems

 
0
  #3
Jul 18th, 2007
oh god
that is the funniest think i have ever heard any one trying in my entire carrier.

dear EXE file are not created like you have tried(smart try) .You need to write some code and compile it to make an Executable.
someday you will also learn that.
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 9
Reputation: I_TRY has a little shameless behaviour in the past 
Solved Threads: 0
I_TRY I_TRY is offline Offline
Newbie Poster

Re: exe file problems

 
0
  #4
Jul 18th, 2007
haha. Tbh, LEARN TO SPELL. LEARN TO TYPE. LEARN TO USE PROPER ENGLISH LANGUAGE. and most improtantly...


<< removed profanity >>
Last edited by ~s.o.s~; Jul 19th, 2007 at 1:27 pm. Reason: Removed profanity.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 9
Reputation: I_TRY has a little shameless behaviour in the past 
Solved Threads: 0
I_TRY I_TRY is offline Offline
Newbie Poster

Re: exe file problems

 
-2
  #5
Jul 18th, 2007
<< snipped racist comment >>
Last edited by ~s.o.s~; Jul 19th, 2007 at 1:25 pm. Reason: Removed Racist comment.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,145
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 530
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: exe file problems

 
0
  #6
Jul 18th, 2007
Originally Posted by I_TRY View Post
Paki *******
hey!

that is not appropriate!
racism will not be tolerated. This has been reported to the admin staff.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 200
Reputation: shouvik.d is an unknown quantity at this point 
Solved Threads: 6
shouvik.d's Avatar
shouvik.d shouvik.d is offline Offline
Posting Whiz in Training

Re: exe file problems

 
0
  #7
Jul 26th, 2007
Originally Posted by I_TRY View Post
I make an exe file on notepad, save it as a .exe
First of all nothing to ashamed of in what you have done. Let me tell you what exe file is first.
Any application(an exe) is a set of instructions which are in machine readable format. You will ask what does machine readable format mean? It means that whatever instructions or operations we have asked the exe to do are to communicate with your Operating System in order to have a perfect execution. It needs some place to first place itself which is known as Load memory area. So the Operating System has to be informed such an application has been loaded in so and so memory address please ensure proper execution.

In order to do all these we have few function calls that interact with the OS. So if you are not making an exe have those function calling mechanisms in order to let the OS know its location and what tasks it needs to it is called broken application means it is accessing some memory which is not known or registered by the OS.

So I think I could give u a brief Idea about what exe is. Now whose job it is to generate all these function calls. Do you think the Programmer writes all of it. As a matter of fact no. Programmer writes only the portion of the code that needs to carry out the task that the application is supposed to do. Then there is something called a compiler. It will then take care that all the necessary additional information (as discussed earlier) is added to the exe. Without those information the exe can't be formed. So you can now understand that Notepad cannot do such kind of operation. hence the error u faced.

Please feel free to discuss any more issues or topics you want to know. I would be very pleased to help u out.
Regards
Shouvik
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Computer Science Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC