RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
 
Post new topic Reply to topic  
View previous topic - View next topic  
Author Message
Gardon
Scholar


Joined: 05 Feb 2006
Posts: 157

PostPosted: Sun Mar 05, 2006 9:15 pm    Post subject: Stupid windows error [quote]

What about the st upid:

such and such.exe has encountered an error and needs to close. Tell Microsoft about this problem!
Code:


----------            ---------------          --------------
--Debug--            --Send Report--         --Don't send--
----------             ---------------         ---------------



You know... THAT error. Does anyone know what it means and how I can make it stop fucken coming up every time I terminate my program? (It only happens when i exit my program)

Thanks!

Jason
Back to top  
RuneLancer
Mage


Joined: 17 Jun 2005
Posts: 441

PostPosted: Sun Mar 05, 2006 9:50 pm    Post subject: [quote]

I'm guessing you're trying to delete something that was never created in the first place?
_________________
Endless Saga
An OpenGL RPG in the making. Now with new hosting!

Back to top  
Gardon
Scholar


Joined: 05 Feb 2006
Posts: 157

PostPosted: Mon Mar 06, 2006 4:32 am    Post subject: [quote]

Ok now it won't even compile because it gives me the windows errors on execution (I take that back, it does compile but won't run)

I figure once I find out once and for all what's causing this I can stop asking these questions.

Basically all I did was change the bitmap I was loading and it didn't work. the path and everything was good, but it wouldn't start. Then when I put the old bitmap in it still doesn't work.

(when i say put in I mean that I swapped the file names I input via the program)

Take a look...here!

Thanks,

Jason
Back to top  
Gardon
Scholar


Joined: 05 Feb 2006
Posts: 157

PostPosted: Mon Mar 06, 2006 5:08 am    Post subject: [quote]

Ok this is friggen queer. It seems to be that the bitmap will only accept file names of "Images/m.bmp". Why woudl this be? Why can't I put in any other name for it? It's only accepting m.bmp, and nothing else.

Stupid


Last edited by Gardon on Mon Mar 06, 2006 11:24 pm; edited 1 time in total
Back to top  
LeoDraco
Demon Hunter


Joined: 24 Jun 2003
Posts: 584
Location: Riverside, South Cali

PostPosted: Mon Mar 06, 2006 7:17 am    Post subject: [quote]

Hey Gardon: have you attempted to run your program through a debugger? They are these tools that, at runtime, allow you to evaluate program flow and state; more so than any other tool concept you could possible grok, becoming one with your debugger is of paramount importance. MSVC comes embedded with a debugger, and invoking it is rather simple. (Seriously: in VS.NET, one must type "Ctrl-F5" to compile and run a program outside of the debugger; simply hitting "F5" causes the program to be run in the debugger; I seem to recall VC6 being similar.)

I know it may seem easier to simply ask others about these things, but knowing your debugger --- what it can do for you --- would resolve most of the issues you are currently experiencing.
_________________
"...LeoDraco is a pompus git..." -- Mandrake
Back to top  
DrunkenCoder
Demon Hunter


Joined: 29 May 2002
Posts: 559

PostPosted: Mon Mar 06, 2006 10:05 am    Post subject: [quote]

Gardon wrote:
Ok this is fucken gay. It seems to be that the bitmap will only accept file names of "Images/m.bmp". Why woudl this be? Why can't I put in any other name for it? It's only accepting m.bmp, and nothing else.

Stupid


This is a friendly reminder from your moderator to watch your language and think before you post.

Thank you.
_________________
If there's life after death there is no death, if there's no death we never live. | ENTP
Back to top  
tunginobi
Wandering Minstrel


Joined: 13 Dec 2005
Posts: 91

PostPosted: Tue Mar 07, 2006 1:28 am    Post subject: [quote]

Yeah, we all like to swear at software now and again. Doesn't really help in the development process though.

By taking the now now now attitude you have at the moment, you're only going to frustrate yourself more and more until you give up and try again (or not).

Before you go any further, you do understand the concept of pointers, don't you? Just judging by your last couple of problems, I suspect you may be throwing around the address-of and dereference operators (not to mention class instances) wherever you see them in an example, without taking the time out to understand what's going on under the surface.

You do understand pointers, don't you?
Back to top  
RuneLancer
Mage


Joined: 17 Jun 2005
Posts: 441

PostPosted: Tue Mar 07, 2006 1:56 am    Post subject: [quote]

Indeed, you seem to be running into a lot of problems where it seems like you're unsure what you're doing.

It might be worth considering to slow down a bit and understand fully what you're doing before moving on. You'll find that when you have a clear idea of what your code does (ie, what gets initialized/deinitialized where, etc) the only problems you should run into would involve things you haven't learned yet. Any other problem can be solved spending a good dozen minutes alone with the built-in debugger to try and figure out what goes on behind the scenes.

Don't worry, it's perfectly normal for even a simple project to take months to complete. I've been writing code for Endless Saga for the equivalent of three months (if you factor in the fact I often can't work on it more than a few hours a week and also took a few months off because my appartment burned down) and am nowhere being done. And believe me, frustrating bugs come up often, but they're nothing to worry about once you're comfortable with the debugger.

So... y'know... it's good that you're not letting pride get in the way and can ask for help, but you should give debugging a shot beforehand (by which I mean using a debugger to track down the problem.)
_________________
Endless Saga
An OpenGL RPG in the making. Now with new hosting!

Back to top  
Post new topic Reply to topic Page 1 of 1 All times are GMT
 



Display posts from previous:   
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum