From: Vesa Lappalainen vesal@jyu.fi fax: ??-358-41-602701 BC 4.0 bugs continue ==================== The following code causes General Protection exeptions (0x41c7:0x06eb): #include #include int PASCAL WinMain(HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { #pragma argsused char s[20]="1"; double d; sscanf(s,"%lf",&d); /* GPE */ d++; return 0; } If compiled with BC 3.1 includes and lib, then no problem.