Hello.
I've run into an error with GZDoomBuilder Bugfix that's proving to be really annoying. Namely, I can't load or save files. Any time I open up a file open or file save box, I get this:
- Code: Select all • Expand view
***********SYSTEM INFO***********
OS: Microsoft Windows 10 Pro
GPU: AMD Radeon R9 200 Series
GZDB: R3045
Platform: x64
********EXCEPTION DETAILS********
Creating an instance of the COM component with CLSID {DC1C5A9C-E88A-4DDE-A5A1-60F82A20AEF7} from the IClassFactory failed due to the following error: 80040111 ClassFactory cannot supply requested class (Exception from HRESULT: 0x80040111 (CLASS_E_CLASSNOTAVAILABLE)).
at System.Windows.Forms.OpenFileDialog.CreateVistaDialog()
at System.Windows.Forms.FileDialog.RunDialogVista(IntPtr hWndOwner)
at System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner)
at CodeImp.DoomBuilder.General.OpenMap()
at CodeImp.DoomBuilder.Actions.Action.Begin()
at CodeImp.DoomBuilder.Actions.ActionManager.BeginActionByKey(Int32 key, Boolean repeated)
at CodeImp.DoomBuilder.Actions.ActionManager.KeyPressed(Int32 key)
at CodeImp.DoomBuilder.Windows.MainForm.MainForm_KeyDown(Object sender, KeyEventArgs e)
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at CodeImp.DoomBuilder.Windows.MainForm.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
After a good bit of head-scratching, I figured out the issue. There's some sort of weird bug with the WPF call here. If I switch off of my high-contrast desktop theme, I can load and save just fine. So I need to open GZDB, switch off of my high contrast theme, load my wad, switch back to high-contrast, and then work.
There are two ways to replicate this problem.
First, change Windows 10 to High ontrast mode.
Or, right click on builder.exe and go to the compatibility tab, then check "Disable visual themes". Both of these will throw up this error.
From what I can gather, this is fixable. SLADE doesn't have this problem, and I saw a post on StackOverflow with an alternate method for bringing up file dialogs.
If this could be looked at, it'd make my life a whole lot easier.