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

Author Topic: Buffer Overrun Issue?  (Read 2732 times)

0 Members and 1 Guest are viewing this topic.

hawtpocket

  • Newbie
  • *
  • Posts: 3
    • View Profile
Buffer Overrun Issue?
« on: September 11, 2008, 04:27:50 am »
http://www.sfml-dev.org/tutorials/1.3/sources/graphics-sprite.cpp

using this cpp file, i get an error message that says "buffer overrun issue" and it beeps until i close it. Can anyone tell me whats wrong?

Im using Visual Studio 2008

Wizzard

  • Full Member
  • ***
  • Posts: 213
    • View Profile
Buffer Overrun Issue?
« Reply #1 on: September 11, 2008, 05:41:30 am »
It works fine for me.

You should post the command line or project that you compile it with.

hawtpocket

  • Newbie
  • *
  • Posts: 3
    • View Profile
Buffer Overrun Issue?
« Reply #2 on: October 02, 2008, 02:53:52 am »
anyone?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Buffer Overrun Issue?
« Reply #3 on: October 02, 2008, 08:40:39 am »
Are you sure you're not mixing debug and release libraries ? Do you link to the DLL version of the CRT ?
Laurent Gomila - SFML developer

hawtpocket

  • Newbie
  • *
  • Posts: 3
    • View Profile
Buffer Overrun Issue?
« Reply #4 on: October 02, 2008, 06:51:08 pm »
Im not sure...i only did what the tutorial told me to do. How would i find that out?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Buffer Overrun Issue?
« Reply #5 on: October 02, 2008, 07:35:57 pm »
There are tons of threads about it, just search "CRT" or "debug" / "release" ;)
Laurent Gomila - SFML developer