dwmapi.dl error windows xp

Questions, suggestions, ideas, and/or comments on MajorMUD Explorer.
Post Reply
User avatar
Karl
Posts: 5
Joined: Sat Oct 20, 2018 11:56 am

dwmapi.dl error windows xp

Post 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.


User avatar
syntax
Site Admin
Posts: 510
Joined: Tue Jun 02, 2009 10:02 am

Re: dwmapi.dl error windows xp

Post 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


User avatar
Karl
Posts: 5
Joined: Sat Oct 20, 2018 11:56 am

Re: dwmapi.dl error windows xp

Post 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.


User avatar
syntax
Site Admin
Posts: 510
Joined: Tue Jun 02, 2009 10:02 am

Re: dwmapi.dl error windows xp

Post 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


Post Reply