Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 458 → Rev 459

/trunk/TODO.md
5,7 → 5,7
ToDo for the next release
-------------------------
 
(None)
* Win32s/Win3.1 compatibility?
 
 
Known problems
/trunk/main.c
161,13 → 161,15
//
// TODO: Not 100% sure if the calling convention is correct...
// are we corrupting the stack? At least WER isn't triggered...
return;
// Commented out DM 27.12.2021: For Win32s at Win3.1, the variable IS less than 0xFFFF ?!
// TODO: Do we have another way to detect rundll32 abuse?
// return;
}
#endif
 
#ifdef SHOW_HOST_DEBUG
tmp = (char*)malloc(512);
sprintf(tmp, "Host signature: '%c%c%c%c' (%d)\nMaxSpace32 = %d\nMaxSpace64 = %lld\nNum buffer procs: %d", (pb->hostSig >> 24) & 0xFF, (pb->hostSig >> 16) & 0xFF, (pb->hostSig >> 8) & 0xFF, pb->hostSig & 0xFF, pb->hostSig, pb->maxSpace, pb->maxSpace64, pb->bufferProcs->numBufferProcs);
sprintf(tmp, "Host signature: '%c%c%c%c' (%d)\nMaxSpace32 = %d\nMaxSpace64 = %lld\nNum buffer procs: %d", (pb->hostSig >> 24) & 0xFF, (pb->hostSig >> 16) & 0xFF, (pb->hostSig >> 8) & 0xFF, pb->hostSig & 0xFF, pb->hostSig, pb->maxSpace, pb->maxSpace64, pb->bufferProcs == 0 ? -999/*About has no BufferProcs*/ : pb->bufferProcs->numBufferProcs);
simplealert(tmp);
free(tmp);
#endif
/trunk/ui_win.c
435,6 → 435,7
p = (PlatformData*)pb->platformData;
 
// Note: "Invalid Cursor Handle" is the error when an unrecognized control class is detected
// TODO: Win 3.1 mit Win32s: "The parameter is incorrect"
res = DialogBoxParam(hDllInstance,MAKEINTRESOURCE(gdata->standalone ? ID_PARAMDLG : ID_MAINDLG),
(HWND)p->hwnd,maindlgproc,0);
if (res == 0) {