[SDL] SDL_CreateWindow Failing
e_byard at yahoo.co.uk
Fri Dec 31 07:56:36 PST 2010
My app on my target system, Windows XP with a Radeon HD4600 (also tested with another 2 XP systems) crashes when SDL_CreateWindow is called. I wrote a log file of each line of code, and that's where it ends. The crash is very inspecific:
Faulting application pr1026.exe, version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000.
The code is just:
window1 = SDL_CreateWindow("WINDOW 1",0,0,config->getScrW(),config->getScrH(),SDL_WINDOW_SHOWN|SDL_WINDOW_INPUT_FOCUS|SDL_WINDOW_MAXIMIZED|SDL_WINDOW_BORDERLESS);
This all works fine on my 3x other Windows 7 systems so it looks like it's limited to Windows XP.
I have built a program under SDL 1.2 which works fine - so it shouldn't be a directx thing (??)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL