Page 1 of 1

dwmapi.dl error windows xp

Posted: Sat Jul 16, 2022 12:43 am
by Karl
I'm running version 1.9 on a virtual XP machine. The program loads and mostly works fine, but I get "run-time error 53: File not found: dwmapi.dll" when running certain things such as the exp calculator and the swing calculator, then it shuts down.

Re: dwmapi.dl error windows xp

Posted: Sun Jul 17, 2022 10:37 am
by syntax
I am not familiar and don't have that use case available to me. Gonna have to go to the Google on that one. I found this:

https://stackoverflow.com/questions/173 ... nder-winxp

Re: dwmapi.dl error windows xp

Posted: Mon Jul 18, 2022 10:20 pm
by Karl
I fixed it. I downloaded your source files from Github and removed the line from mudmonitors.bas that read "nRet = DwmGetWindowAttribute(F.hwnd, DWMWA_EXTENDED_FRAME_BOUNDS, rcFrame, Len(rcWindow))" Seems to be working okay now. Would be nice if there was a way to make it it check to see if the OS was running Vista or higher before running that line of code.

Re: dwmapi.dl error windows xp

Posted: Tue Jul 19, 2022 12:11 am
by syntax
I'm impressed. Next time I put some work into it I'll try to work something up for it.

https://github.com/syntax53/MMUD-Explorer/issues/34

Re: dwmapi.dl error windows xp

Posted: Wed Feb 07, 2024 10:49 am
by rytz
Karl wrote: Mon Jul 18, 2022 10:20 pm I fixed it. I downloaded your source files from Github and removed the line from mudmonitors.bas that read "nRet = DwmGetWindowAttribute(F.hwnd, DWMWA_EXTENDED_FRAME_BOUNDS, rcFrame, Len(rcWindow))" Seems to be working okay now. Would be nice if there was a way to make it it check to see if the OS was running Vista or higher before running that line of code.
Karl was nice enough to send me a copy of his fixed WinXP EXE. I've attached it here for other WinXP users.

Thanks Karl!