Porting to windows

Hello,

my project, developed under Linux runs fine under XWindows, mitshm and pthreads,
however the port to windows using xmingw32 silently fails when it starts to blit
surfaces in a seperate thread.
no error message, nothing printed to stderr.txt, it just
returns to windows.

Has someone any idea here ? Are there some bad traps I do not know (or just
forgot) ?–
Karsten-O. Laux
klaux at student.uni-kl.de
http://www.rhrk.uni-kl.de/~klaux
UIN 21614933 (Bert)

my project, developed under Linux runs fine under XWindows, mitshm and pthreads,
however the port to windows using xmingw32 silently fails when it starts to blit
surfaces in a seperate thread.
no error message, nothing printed to stderr.txt, it just
returns to windows.

It sounds like a segmentation fault. Are you running fullscreen?
If so, you might not be taking into account the pitch of the surface you
are blitting, if you are doing the blitting yourself. Try sprinkling
print statements around to see exactly what is happening.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/