SDL Named Pipe

Hey everyone, we are using a name pipe setup for a basic 2d racing game. The
only thing is, if we do the named pipe code in an app without SDL, it works
fine, if we put it in an really simple app, with only SDL.h, we get no
connection. Can anyone tell me what might be going on? Does SDL have its own
Named Pipe stuff inbeded?

here is a little same code from our client side

inside main
{
HANDLE hPipe;
DWORD nBytes;

char buf[1024];


WaitNamedPipe(SERVER_PIPE,INFINITE);
hPipe = CreateFile(	SERVER_PIPE, GENERIC_READ | GENERIC_WRITE, 0, NULL,

OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
}
now, if we run the above code in just an empty app, it works fine, the server
see’s another pipe connection and says so, if we run this code from the SDL app,
we don’t get anything. We are using VS05, on windows XP.