Why msvbvm60.dll can't be loaded in Windows 11?

Nea Uusitalo 0 Reputation points
2025-02-10T05:06:17.7733333+00:00

I have tried to use the the library in my code project by Win API call Declare Function VarPtr Lib "msvbvm60.dll" (ByVal ptr As LongPtr) As LongPtr without success. The dll won't be loaded. The file is located in C:\Windows\SysWOW64 folder and the .dll and its typelib can also be found from the Windows registry.

EDIT:

I found the reason for this issue. It's about ASR (Attack Surface Reduction) rules set by Windows Defender.

Microsoft has included this also to Windows 10 with its latest feature update sometimes in the summer of 2024.

It blocks, among other things, using of Office apps creating executable content, obfuscated JS/VBS/PS macros by default and so on.

These individual rules can be worked around by Group Policy Manager settings.

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.