I've just assumed that you can't do native Windows dialogs under A6. Note also that in the event of an engine error, 3DGS will switch from fullscreen back into windowed mode before displaying a dialog box. I tried the following just now:
code:
// Display an alert box:
DLLFUNC fixed native_test(void) {
MessageBox(NULL, "Testing!", "Notification", MB_OK | MB_ICONINFORMATION | MB_DEFBUTTON1 | MB_TASKMODAL);
return 0;
}
Calling it from C-Script causes the game to hang, (which is not unexepected). You can ALT-TAB out of fullscreen mode to get to the alert box that it pops up. After you dismiss that, you can pop back to fullscreen without problems.
If there's a workaround, such that we can get modal dialogs up (especially the file selector), I'd be thrilled.
-tes