Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Which is the real executable? 1

Status
Not open for further replies.

innmedia

Programmer
Mar 24, 2000
108
US
Hi,

Three executables are created: one in the Bin directory, one in Obj\Debug, and one in Obj\Release.

Why?

I can see the Debug one is not the same as the others (at least in my project here). The debug is not working correctly. That in itself is another question - why is the debug one different?

But of the Bin and Release ones - which one is meant to be the final. I can assume "Release" but I do not want to assume. I want to understand what the differences are.

Thanks!
 
The debug build will contain debug info (as the name implies). The release build is the one you should distribute.

If the debug build doesn't work, then you'll need to debug it to find out why. If the release build doesn't work, you'll need to go back to the debug build to debug it, as the release build doesn't contain the meta info needed for debugging.

You control which one gets built via the "configuration" menu.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Chip,

THanks. Also though do you know what the purpose is of the Bin executable?

THanks,
KB
 
I think the bin directory comes into play when you're doing a web app. Since I only do back-end & middle tier code, I have no experience with it, sorry.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top