Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Visual C++ Questions  (Read 9407 times)

0 Members and 2 Guests are viewing this topic.

YellowShadow

  • Newbie
  • *
  • Posts: 29
    • AOL Instant Messenger - ehwatsupdoc21
    • View Profile
Visual C++ Questions
« Reply #15 on: January 27, 2009, 12:56:08 am »
I think there may be some other problem that's not letting the loading happen. I commented out the image loading and App.Draw() line, and I still get a buffer overflow.

Code: [Select]

First-chance exception at 0x00431819 in Client.exe: 0xC0000005: Access violation reading location 0xcccccccc.
A buffer overrun has occurred in Client.exe which has corrupted the program's internal state. Press Break to debug the program or Continue to terminate the program.


Am I doing something wrong? I can put up the actual project/solution if it's really needed to see if I'm setting up everything correctly.

YellowShadow

  • Newbie
  • *
  • Posts: 29
    • AOL Instant Messenger - ehwatsupdoc21
    • View Profile
Visual C++ Questions
« Reply #16 on: January 30, 2009, 08:11:55 am »
Bump.

I still need help on this.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Visual C++ Questions
« Reply #17 on: January 30, 2009, 09:53:42 am »
You should start by showing your code ;)

And also make sure you're not mixing debug/release configurations (i.e. link to sfml-xxx-d.lib in release mode, and vice-versa).
Laurent Gomila - SFML developer

YellowShadow

  • Newbie
  • *
  • Posts: 29
    • AOL Instant Messenger - ehwatsupdoc21
    • View Profile
Visual C++ Questions
« Reply #18 on: January 30, 2009, 05:36:00 pm »
I got it to work :) I think there was something wrong with my project file so I just started over and so far everything seems to work :)

Thanks guys!

 

anything