Raymai97 / noborder

Run windowed-mode game in Borderless Fullscreen mode. Ideal for Touhou series games.
MIT License
14 stars 1 forks source link

Suspect DwmWindow doesn't initialize to zero #1

Closed Raymai97 closed 7 years ago

Raymai97 commented 7 years ago

The VC6 build noborder will crash if the DWM state is changed (i.e. enabled/disabled), if you didn't noborder anything (pressing alt+backspace on any window) since the noborder started up. Weirdly, this problem doesn't occur in VC2015 build, possibly due to the difference in C++ standard?

After reviewing the code again, I think it is probably because the DwmWindow class doesn't initialize to zero until DwmWindow::Start() is executed once. I shall fix this problem soon.

Raymai97 commented 7 years ago

Discontinued 'noborder tiny' (MSVC6 build) in favor of modern C++. Since this problem only exists in 'noborder tiny', no further action is needed.