Issue Connecting to Document Manager with COM

I am attempting to connect to the Document Manager API via the COM interface using Python. For some reason, I keep getting an error -2147467262, 'No such interface supported'. I've tried troubleshooting everything I can, but I've run out of ideas. Any input on how to proceed or what I may be doing wrong? I've got SolidWorks 2025 installed and functioning, so I believe that everything should already be installed and registered to run Document Manager.

Rather than try to list out in detail everything that I've tried, I've got a short Python script that walks through everything that I've checked so far. In addition to what's listed in the script, I opened the DLL found by the script below using Dependency Walker and verified that there are no missing dependencies (e.g. the VS C++ redistributable), I re-registered the DLL, I installed the latest C++ redistributable and verified the the 2014 version is installed (which is what I believe is required).

Here's the script:

import sys
import os
import struct
import platform
import winreg
import pythoncom
import win32com.client
from mytools import solidworks  # for the API key

API_KEY = solidworks.docmanager_credentials().api_key

ProgID = r'SwDocumentMgr.SwDMClassFactory'

def is_64bit_dll(path):
    with open(path, 'rb') as f:
        f.seek(0x3C)
        pe_offset = struct.unpack('

And here's the output I am getting:

System architecture: 64bit
Python version: 3.13.3
OS Info: Windows-11-10.0.26200-SP0
DocManager DLL exists: C:\\Program Files\\Common Files\\SOLIDWORKS Shared\\SwDocumentMgr.dll
The DLL is a 64-bit DLL
COM ProgID registered: SwDMClassFactory Class
Primary factory initialization failed: (-2147467262, 'No such interface supported', None, None)
Error creating factory: (-2147467262, 'No such interface supported', None, None)
Error initializing Document Manager application: name 'factory' is not defined