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.


Messages - raXor

Pages: [1]
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!

2
Network / Dont get all data - UDP and TCP
« on: December 11, 2009, 07:24:43 pm »
Hi, I have a big problem in a network program.
I have written a simple chat. The problem is that I dont receive all data. I get only the first 4 characters of the sending string.

I have testet all possibilites with different sockets (UDP/TCP), threads etc.
Heres my actually Code (in UDP):
http://codepaste.net/tyokzh

The hole project is here:
http://www.uwe-collmer.de/Netzwerk.rar

I hope someone can help me...

3
Graphics / Unvisible Sprite background?
« on: January 08, 2009, 04:17:15 pm »
Yeah, it works. Thanks  :mrgreen:

4
Graphics / Unvisible Sprite background?
« on: January 07, 2009, 11:02:44 pm »
Thanks, I will try it

5
Graphics / Unvisible Sprite background?
« on: January 07, 2009, 10:48:54 pm »
Hello, I'm searching for a possibility to make the background of a Sprite unvisible.
Like in SDL the function
Code: [Select]
SDL_SetColorKey (m_pImage, SDL_SRCCOLORKEY,
                   SDL_MapRGB (m_pImage->format, R, G, B) );

Ive searched in the hole documentation of the SFML but i dont found something. Maybe I'm blind, so I hop you can open my eyes  :?

6
Window / Opening a window - problem
« on: January 02, 2009, 07:30:57 pm »
Oh thanks, that was the problem :)

All works, without any problems.

7
Window / Opening a window - problem
« on: January 02, 2009, 07:00:00 pm »
Hi guys.
Today I want to start learn using the SFML. I've downloaded the libs, include files and so on.
Thereafter I linked all libs to a Project and want create my first Window with the SFML.
I written following code in my vs08:

Code: [Select]
#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;
}


No compile or linker errors. So the program started correctly. But at the End of the program I got an Error Message:

Quote

---------------------------
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  
---------------------------


Somethin is wrong with the variable "App" which create my Window. But I don't know what.

Except this problem I have a problem with my title. The running programm shows me the title as: ÌÌÌÌTitle
It would be nice if someone could help me.

PS: Sry for my spell or language mistakes. I'm a german guy ;)

Pages: [1]
anything