The Daily Click ::. Forums ::. Klik Coding Help ::. Weird bug with File Object and Common Dialog Object?
 

Post Reply  Post Oekaki 
 

Posted By Message

cake



Registered
  13/12/2002
Points
  1173
16th November, 2009 at 01:51:14 -

I've been working on a level editor, and was using Common Dialog Object to display the file selection windows when saving and loading. Everything was working fine. Could load and save levels, then all of a sudden, it just stopped popping up the file selection windows. I'd select save and the window bar would flash, as if another window was created and immediately destroyed, and thats it. No file selection window.

So I switched over to File Object and exactly the same thing happens. So I created a new, blank project and made an event like:

Start of Frame:

File Object - display save selection window on $AppDir

And it works fine. So what the hell is wrong with my level editor project??

Anyone encountered anything like this before?

 
n/a

Rob Westbrook



Registered
  25/05/2007
Points
  193

360 OwnerVIP Member
16th November, 2009 at 02:22:51 -

I guess the first thing to ask would be what did you do before the "all of a sudden" moment?

 
There are 10 types of people in the world: Those who understand binary and those who don't.

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49567

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
16th November, 2009 at 03:54:37 -

This happened to me recently. I searched and searched through my code. I deleted extensions. I deleted frames.
I recoded whole sections. I did everything for 2-3 months, then finally I went back to an older backup of my project and copied all the new code over, and then it just started working again.

I still have no idea what the problem could have been cause the code was exactly the same!
I don't know if it was an mmf bug or not, but that sure saved me.

Just my 1 cent.

 
n/a

cake



Registered
  13/12/2002
Points
  1173
16th November, 2009 at 04:26:15 -

Ahh yeah it's just what I thought. Because I touched none of the code between when it was working and when it wasn't. Damn strange... and annoying!

Unfortunately there's no old backup (project is still very young!), so it's either port it all into a new project, or work around it. I chose the latter.

Thanks for the help!

 
n/a

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49567

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
16th November, 2009 at 04:31:31 -

You are indeed welcome!

Say, I'm not trying to discourage you from discovering the reason behind it or anything. I was just sharing my experience. I sure hope you discover something easy that you might have missed instead of doing what I did. And of course if you do you'll tell me, right?

 
n/a
   

Post Reply



 



Advertisement

Worth A Click