Make sure you have the DirectPlay legacy component installed in Windows.

In Win11, just type "windows features" into the start menu and hit enter. expand "legacy components" and check DirectPlay.