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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to build a final executable for project 1

Status
Not open for further replies.

djmcbell

Programmer
Jan 9, 2004
7
GB
I've just joined to get some help building my final year project at university (I know, students aren't allowed to post for some reason, but hey!). And I was wondering if someone would be kind enough to point me in the right direction on this problem.

I've got my project working in the compiler, but the executable which is hidden in the directories will not work, and it brings up a Windows error (using Windows XP and Microsoft Visual C++ 6.0). In the same directory as the executable (the debug directory) there are a fair few .obj files which appear to be "torn in half" as well as a Objman.obj.enc file. The release directory has a load more of the torn obj files.

So yes, I'm a bit stuck. I need something that the user can just execute easily (I'll also be creating an autorun to it from CD, but that'll be easy).

I know this is probably a bit of an elementary question, but our lecturer is hopeless. All the instruction he gave us was more or less "here's a lump of code - figure it out".

Many thanks
 
Sounds like an interesting problem, so you're saying that the code you have written compiles fine but when you build the application and run it the program doesnt run?

do you get an error message? what does the debug file contain? any extra info will help!

Pete
 
As far as I understand, the reason why student postings are not allowed is simply the number of postings on other sites that I've seen that come from students who are too lazy to do the work themselves (I'm not suggesting that this applies to you). Another possible reason is that such postings tend to ask the same (usually simple) questions which clutter up the more complex questions which professionals are seeking answers too.

Your question is, unfortunately, unaswerable from the information you have given (although I suspect you have a missing or inaccessible DLL).

Your lecturer may be hopeless but that doesn't mean you can't ask questions. There must be other people at your college/university who can help.

I don't want to sound rude but I appreaciate Tek-Tips "no student postings" policy because most of us haven't the time to take on the role of subistute lecturer as well as our full-time jobs.

If it's any consolation, being "stuck" and being handed a "lump of code" to figure out is common amongst working programmers.


________________________________________
[hippy]Roger J Coult; Grimsby, UK
In the game of life the dice have an odd number of sides.
 
Thanks for the help. I can definitely respect that you guys don't want to act as a teacher substitute, but I'm in dire straits - the project is due in in a few days, when the semester starts. Unfortunately, our lecturer comes back a few days after the semester starts, and I've only just found this problem now!

I've been executing the program outside the compiler and debugging it from there, and yes, it does come up with a few dll errors, so that does definitely sound like the prob.

In any case, thanks for taking the time to answer my question, and for putting up with me.
 
Thank-you for being so understanding.

The trick is to change where your executable is created (Project->Settings menu) so that you can have all your DLLs and executables together.

________________________________________
[hippy]Roger J Coult; Grimsby, UK
In the game of life the dice have an odd number of sides.
 
Wow. Now that was a bit of a head-scratcher. Not using any dll files (well, they were all external) and using a tried-and-tested project file, where the executable had worked before.

Simply moved the executable down a level (thanks for giving me the idea to move it woja) and it worked!

Many thanks! I hope I can be of some contribution to this forum, and I'll regularly visit to see if there's anything my (admittedly quite limited) programming knowledge can help with (if anyone wants advice on how to animate hamsters in isometric games - such is my project - just ask!)

Many thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top