Sorry, ich meinte den Thread "Schwarzer Bildschirm bei Wechsel Fullscreen/Windowed":
"FS2004 and Black Window problems when switching to Full Screen
After some changes in my hardware, I have been able to reproduce this black screen problem reliably, and I've managed to narrow it down.
First, I should say that the problem I can reproduce may not be the one some are reporting. In my case, FS2004 isn't actually hung. It presents a black screen instead of scenery or whatever, but pressing ALT brings up the Menu, and using that to change something in the Display settings actually recovers the situation completely.
Anyway, the problem I can reproduce is related to the FS window subclassing order. Something is screwing up the subclass chain. This affects these modules (of those I've tested):
FSUIPC.DLL
AdvDisplay.DLL
PFC.DLL
ViMaCore2004.DLL
It seems that, here at least, I can eliminate the problem by ensuring that the window subclassing in my DLLs is performed as early as possible. This can already be done in FSUIPC simply by adding the parameter:
InitDelay=0
to the [General] section of the FSUIPC.INI file. Please, those of you with black screen problems on mode switching, try this and let me know if it works for you too. If it does seem like the correct solution, I will default this parameter in the next version of FSUIPC (but only when it is run in FS2004).
Unfortunately the same easy change does not apply to AdvDisplay nor PFC. I will release revised versions as soon as I hear that the change in the FSUIPC parameter works. So, to test, remove these DLLs if you use them. I will also write to Lago about the similar problem with ViMaCore2004.DLL.
There may well be other add-in DLLs which suffer in the same way, so if you do still get problems, please check what you have installed in addition to FSUIPC. Thanks.
Please note that if this work-around does deal with the actual reported problems, then it points to some bug in FS itself, as the work-around only changes the order in which the various parts of FS subclass the main window.
The techniques for this have been use identically in many modules since FS95 days without such problems before."
Tschüß
Jörg E. aus Berlin
|