1
Network / Dont get all data - UDP and TCP
« on: December 11, 2009, 11:25:52 pm »
Oh... damn mistake.
Thank you very much Laurent!
Thank you very much Laurent!
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.
SDL_SetColorKey (m_pImage, SDL_SRCCOLORKEY,
SDL_MapRGB (m_pImage->format, R, G, B) );
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
#include <iostream>
//////////////////////////////////////////////////////
// Hauptprogramm start
//////////////////////////////////////////////////////
int main()
{
// Fenster erzeugen
sf::Window App(sf::VideoMode(800, 600, 32), "Title");
//////////////////////////////////////////////////
// In die Hauptschleife springen
for (int i = 0; i < 1000; i++)
{
App.Display();
}
// Hauptschleife Ende
//////////////////////////////////////////////////
// Programm Ende
return EXIT_SUCCESS;
}
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Error!
Program: ...entwicklung\Alle Projekte\SFML Übungen\Debug\SFML Übungen.exe
Module: ...entwicklung\Alle Projekte\SFML Übungen\Debug\SFML Übungen.exe
File:
Run-Time Check Failure #2 - Stack around the variable 'App' was corrupted.
(Press Retry to debug the application)
---------------------------
Abort Retry Ignore
---------------------------