SDL & CreateProcess

I’m creating a little frontend application using SDL. However CreateProcess seems to have some issues when I use a SDL_FULLSCREEN flag with SDL_SetVideoMode(). If I leave out SDL_FULLSCREEN it works correctly. If I include SDL_FULLSCREEN CreateProcess() does return a value saying it was successful but the application doesn’t actually start.

Here is the code I’m using
void SysCall(char* command)
{

PROCESS_INFORMATION pi;
STARTUPINFO si;
GetStartupInfo(&si);
si.dwFlags=STARTF_RUNFULLSCREEN;
fprintf(stdout,"CreatePro: %d\n",
CreateProcess(NULL, command, NULL, NULL, FALSE, CREATE_NO_WINDOW,
          NULL, NULL, &si, &pi)); 

DWORD exitcode;
while (1) {
    if (!GetExitCodeProcess(pi.hProcess, &exitcode))
        break;
    if (exitcode != STILL_ACTIVE)
        break;
    SDL_Delay(100);
}

CloseHandle(pi.hProcess);
CloseHandle(pi.hThread);

return;

}