Jump to content
  • Advertisement
Sign in to follow this  
darenking

Two instances of my DevC++ program in the taskbar SOLVED ALREADY!

This topic is 4721 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Maybe there could be lots of reasons to this, and you'd need to see my code to work out why, but I don't really know where to start in trying to track this error. My program creates two instances of itself in the Windows taskbar, both with the same name (the name of the program). Yet the game only creates one window, just as it should. It's not the Windows installation on my PC, as the same thing happens on my laptop. If I run older versions of the program, it doesn't happen. Any ideas how this could happen?

Share this post


Link to post
Share on other sites
Advertisement
Oh, just figured out why. I was initialising Allegro twice. Doh!

Maybe this topic should be closed or something? Clearly it's an Allegro issue so should be in the game library area, but I didn't know it was Allegro, I thought it was to do with the compiler.

Hmm.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!