Displaying QBasic Object Code

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2005
Posts: 3
Reputation: tbartoli is an unknown quantity at this point 
Solved Threads: 0
tbartoli tbartoli is offline Offline
Newbie Poster

Displaying QBasic Object Code

 
0
  #1
Feb 16th, 2005
After compiling a QBasic program, an object code file is created (.obj).
My question is: How do I look at that file?
I've tried opening it with a number of different programs, but all I get is gibberish.
Thanks for any help....
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: Displaying QBasic Object Code

 
0
  #2
Feb 16th, 2005
The object file is a file of basically compiled binary. You can't view it in an understandable way..... you could use a hex editor, or some other means of numbering to know what is going on, but for most people.... you might as well consider the object file the same as the EXE (they are not, an EXE is linked, where as an object file is NOT linked... but essentially, they are both compiled).
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 3
Reputation: tbartoli is an unknown quantity at this point 
Solved Threads: 0
tbartoli tbartoli is offline Offline
Newbie Poster

Re: Displaying QBasic Object Code

 
0
  #3
Feb 16th, 2005
Originally Posted by Comatose
The object file is a file of basically compiled binary. You can't view it in an understandable way..... you could use a hex editor, or some other means of numbering to know what is going on, but for most people.... you might as well consider the object file the same as the EXE (they are not, an EXE is linked, where as an object file is NOT linked... but essentially, they are both compiled).
When I run the EXE file, I get an error at some address. How do I find were that problem is?... Thanks
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: Displaying QBasic Object Code

 
0
  #4
Feb 17th, 2005
You're talking about QBasic, on what operating system by chance?
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 3
Reputation: tbartoli is an unknown quantity at this point 
Solved Threads: 0
tbartoli tbartoli is offline Offline
Newbie Poster

Re: Displaying QBasic Object Code

 
0
  #5
Feb 17th, 2005
Originally Posted by Comatose
You're talking about QBasic, on what operating system by chance?
It's a windows 2000 OS but, of course, QBasic runs in a DOS emulated window.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: Displaying QBasic Object Code

 
0
  #6
Feb 17th, 2005
There has been a lot of talk about QBasic being a 16 bit programming language.... while later versions of windows are not. This causes a problem when trying to run a compiled EXE that's compiled for 16 bit..... there are threads on here regarding the same situation. Check under Forum Index at the top, then click qbasic/visual basic... you'll find a couple threads on using qbasic (exe's and ide's) with later versions of windows. (doesn't look like anything good).
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 Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



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

©2003 - 2009 DaniWeb® LLC