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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - pekl

Pages: [1]
1
Feature requests / sf::String append function
« on: August 13, 2008, 10:24:37 am »
In addition to the setText functions, it would be nice to have an append function. Even better would be if it could handle different data types such as integers and floats.

for example, if you would like to display scores in a game.

setText("score: ");
appendInt(4);

2
Window / Sfml 1.3 Visual studio express 2008 error
« on: June 29, 2008, 10:27:38 pm »
Hi,
I've tried compiling just a simple program to test the sfml library.

The program is really simple.

#include <SFML/Window.hpp>
int main()
{
sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");
while (true)
   {
   App.Display();
   }
    return EXIT_SUCCESS;
}

I link the VC2008 libraries and use the supplied DLL-files.
In debug mode I use the -d libraries and in release I use the regular libraries.

In debug mode I get the error message "Run-Time Check Failure #2 - Stack around the variable 'State' was corrupted."

And relaese mode doesn't work at all.

I've also tried compiling the libraries using the supplied vc2000 Solution and used the libraries and dll's with no solution to the problem.

It allways crashes when the window is about to be initiated at "sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");"

Pages: [1]
anything