I found that on other PC (Win2000 in this case)
using my mini program:
// DWMAPI.cpp : Defines the entry point for the console application.
#include <windows.h>
#include <stdio.h>
#include <SFML/Graphics.hpp>
int main(int argc, char* argv[])
//int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
OSVERSIONINFO osvi;
osvi.dwOSVersionInfoSize=sizeof(OSVERSIONINFO);
printf("GetVersionEx Returns %d\n",GetVersionEx(&osvi));
if( osvi.dwPlatformId == VER_PLATFORM_WIN32_NT)
{
printf("VER_PLATFORM_WIN32_NT\n");
}
printf("dwMajorVersion %d \n",osvi.dwMajorVersion );
//sf::RenderWindow App(sf::VideoMode(), "SFML"); // <----
sf::VideoMode Mode(800, 600, 32);
sf::RenderWindow App;
//App.Create(Mode, "Test", sf::Style::Close);
MessageBox(NULL, "Addio, Mondo Crudele!", "Nota", MB_OK);
return 0;
}
Debug version run well but
Release version open console window and crash immediatly.
If I comment line
[code]//sf::RenderWindow App;[code]
all go ok in Debug and Release mode too.[/code]