PlaySound() API is not working

GaryK4

Member
Local time
7:58 AM
Posts
8
OS
Windows 10
I use the program FreeFileSync. It plays sounds when a compare or sync is complete. With Win11, it no longer plays the sound.
The FreeFileSync forum responded to me as to what function they use. I wrote a quick .Net program and ran it on Win11 and my Surface Pro. Win11 does not play the sound file while the Surface pro does.
Function PlaySound Lib "winmm.dll" Alias "PlaySoundA"

Anyone else having this issue?
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell
    CPU
    Intel(R) Core(TM) i7-8086K CPU @ 4.00GHz 4.01 GHz
    Memory
    16.0 GB
    Graphics Card(s)
    NVIDIA GeForce 1060 GB
    Monitor(s) Displays
    (4) Dell & ViewSonic
    Screen Resolution
    (2) 1920x1200, 1920x1080, 1280x1024
    Hard Drives
    C: 1.0 TB, D: 2.0TB, G: 500GB, H: 3.0GB
    Keyboard
    Dell
    Mouse
    Anka
    Internet Speed
    200x20
    Browser
    Chrome
    Antivirus
    McAfee

GaryK4

Member
Thread Starter
Local time
7:58 AM
Posts
8
OS
Windows 10
Yes, I am watching YTTV right now. As a test, I went into system settings, sounds and Program Events: I ran the sound test on many of the windows events (Exclamation, Device connect, etc) and they all work. I even downloaded an older version of the dll and pointed my test program to it. That still fails. It seems like windows does not use the same dll, just guessing.
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell
    CPU
    Intel(R) Core(TM) i7-8086K CPU @ 4.00GHz 4.01 GHz
    Memory
    16.0 GB
    Graphics Card(s)
    NVIDIA GeForce 1060 GB
    Monitor(s) Displays
    (4) Dell & ViewSonic
    Screen Resolution
    (2) 1920x1200, 1920x1080, 1280x1024
    Hard Drives
    C: 1.0 TB, D: 2.0TB, G: 500GB, H: 3.0GB
    Keyboard
    Dell
    Mouse
    Anka
    Internet Speed
    200x20
    Browser
    Chrome
    Antivirus
    McAfee

iko22

Well-known member
Member
VIP
Local time
12:58 PM
Posts
554
Location
South West England
OS
Windows 10
I cannot immediately see anything that suggests win32/winmm.dll is depreciated on Windows 11. Had you tried running the FreeFileSync program in compatibility mode, by any chance?
 

My Computer

System One

  • OS
    Windows 10
    CPU
    TBA
    Motherboard
    TBA

GaryK4

Member
Thread Starter
Local time
7:58 AM
Posts
8
OS
Windows 10
I cannot immediately see anything that suggests win32/winmm.dll is depreciated on Windows 11. Had you tried running the FreeFileSync program in compatibility mode, by any chance?
No, but I just tried it and it did not help. Run as admin did not help either. Seems like a Win 11 bug.
Side note: compatibility mode let's you select Win 8 or less, not Win 10.
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell
    CPU
    Intel(R) Core(TM) i7-8086K CPU @ 4.00GHz 4.01 GHz
    Memory
    16.0 GB
    Graphics Card(s)
    NVIDIA GeForce 1060 GB
    Monitor(s) Displays
    (4) Dell & ViewSonic
    Screen Resolution
    (2) 1920x1200, 1920x1080, 1280x1024
    Hard Drives
    C: 1.0 TB, D: 2.0TB, G: 500GB, H: 3.0GB
    Keyboard
    Dell
    Mouse
    Anka
    Internet Speed
    200x20
    Browser
    Chrome
    Antivirus
    McAfee

The-Hive

Well-known member
Power User
VIP
Local time
12:58 PM
Posts
1,691
Location
Wiltshire UK
OS
Windows 11 Pro
Have you checked the file is actually win 11 compatible? or is there an update or patch for it?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Alienware Area 51m R2
    CPU
    10th Gen Core i9 10900K
    Memory
    32GB
    Graphics Card(s)
    Geforce RTX 2080 Super
    Screen Resolution
    1920x1080
    Hard Drives
    C: Samsung 2TB P981A
    D: Samsung 2TB 970 Evo
    E: Samsung 2TB 970 Evo (External)
    Mouse
    Alienware AW610M
    Browser
    Chrome and Firefox
    Antivirus
    Norton
    Other Info
    Killer E3000 Ethernet Controller
    Killer AX1650i Wi-Fi Network Adaptor
    Alienware Z01G Graphic Amplifier
    Tobii Eye Tracker
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 3501
    CPU
    11th Gen i-7 2.80 gb
    Memory
    16Gb
    Screen Resolution
    1920 x 1080
    Hard Drives
    512Gb SSD
    Browser
    Chrome
    Antivirus
    Norton

GaryK4

Member
Thread Starter
Local time
7:58 AM
Posts
8
OS
Windows 10
Have you checked the file is actually win 11 compatible? or is there an update or patch for it?
I'm not sure what you mean. I am running Win11, did properties on the file and set the compatibility mode.
I don't know how to check for an update or patch to a system dll.
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell
    CPU
    Intel(R) Core(TM) i7-8086K CPU @ 4.00GHz 4.01 GHz
    Memory
    16.0 GB
    Graphics Card(s)
    NVIDIA GeForce 1060 GB
    Monitor(s) Displays
    (4) Dell & ViewSonic
    Screen Resolution
    (2) 1920x1200, 1920x1080, 1280x1024
    Hard Drives
    C: 1.0 TB, D: 2.0TB, G: 500GB, H: 3.0GB
    Keyboard
    Dell
    Mouse
    Anka
    Internet Speed
    200x20
    Browser
    Chrome
    Antivirus
    McAfee

The-Hive

Well-known member
Power User
VIP
Local time
12:58 PM
Posts
1,691
Location
Wiltshire UK
OS
Windows 11 Pro
What I meant is is FreeFilesync compatible with windows 11
Are you running the latest version 11.15 released on Dec. 3rd.
Check the program to see what version you are on, if not the most recent, get it from
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Alienware Area 51m R2
    CPU
    10th Gen Core i9 10900K
    Memory
    32GB
    Graphics Card(s)
    Geforce RTX 2080 Super
    Screen Resolution
    1920x1080
    Hard Drives
    C: Samsung 2TB P981A
    D: Samsung 2TB 970 Evo
    E: Samsung 2TB 970 Evo (External)
    Mouse
    Alienware AW610M
    Browser
    Chrome and Firefox
    Antivirus
    Norton
    Other Info
    Killer E3000 Ethernet Controller
    Killer AX1650i Wi-Fi Network Adaptor
    Alienware Z01G Graphic Amplifier
    Tobii Eye Tracker
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 3501
    CPU
    11th Gen i-7 2.80 gb
    Memory
    16Gb
    Screen Resolution
    1920 x 1080
    Hard Drives
    512Gb SSD
    Browser
    Chrome
    Antivirus
    Norton

GaryK4

Member
Thread Starter
Local time
7:58 AM
Posts
8
OS
Windows 10
I do have the latest version 11.15 (64bit). I just tried compatibility mode and run as admin. Neither helped.
I downloaded the latest version as soon as I detected the issue. The prior version did not work.
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell
    CPU
    Intel(R) Core(TM) i7-8086K CPU @ 4.00GHz 4.01 GHz
    Memory
    16.0 GB
    Graphics Card(s)
    NVIDIA GeForce 1060 GB
    Monitor(s) Displays
    (4) Dell & ViewSonic
    Screen Resolution
    (2) 1920x1200, 1920x1080, 1280x1024
    Hard Drives
    C: 1.0 TB, D: 2.0TB, G: 500GB, H: 3.0GB
    Keyboard
    Dell
    Mouse
    Anka
    Internet Speed
    200x20
    Browser
    Chrome
    Antivirus
    McAfee

The-Hive

Well-known member
Power User
VIP
Local time
12:58 PM
Posts
1,691
Location
Wiltshire UK
OS
Windows 11 Pro
Did it work with Win 10, if so I guess it is incompatible with win11
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Alienware Area 51m R2
    CPU
    10th Gen Core i9 10900K
    Memory
    32GB
    Graphics Card(s)
    Geforce RTX 2080 Super
    Screen Resolution
    1920x1080
    Hard Drives
    C: Samsung 2TB P981A
    D: Samsung 2TB 970 Evo
    E: Samsung 2TB 970 Evo (External)
    Mouse
    Alienware AW610M
    Browser
    Chrome and Firefox
    Antivirus
    Norton
    Other Info
    Killer E3000 Ethernet Controller
    Killer AX1650i Wi-Fi Network Adaptor
    Alienware Z01G Graphic Amplifier
    Tobii Eye Tracker
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 3501
    CPU
    11th Gen i-7 2.80 gb
    Memory
    16Gb
    Screen Resolution
    1920 x 1080
    Hard Drives
    512Gb SSD
    Browser
    Chrome
    Antivirus
    Norton

GaryK4

Member
Thread Starter
Local time
7:58 AM
Posts
8
OS
Windows 10
Yes it did. I posted messages on their site. This is their response.
I'm not able to reproduce this on Windows 11, so it doesn't seem like a general issue. Unfortunately, the Windows PlaySound() function does not return error details on failure.
This is not a big problem, just annoying.
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell
    CPU
    Intel(R) Core(TM) i7-8086K CPU @ 4.00GHz 4.01 GHz
    Memory
    16.0 GB
    Graphics Card(s)
    NVIDIA GeForce 1060 GB
    Monitor(s) Displays
    (4) Dell & ViewSonic
    Screen Resolution
    (2) 1920x1200, 1920x1080, 1280x1024
    Hard Drives
    C: 1.0 TB, D: 2.0TB, G: 500GB, H: 3.0GB
    Keyboard
    Dell
    Mouse
    Anka
    Internet Speed
    200x20
    Browser
    Chrome
    Antivirus
    McAfee

The-Hive

Well-known member
Power User
VIP
Local time
12:58 PM
Posts
1,691
Location
Wiltshire UK
OS
Windows 11 Pro
So if it works on theirs on 11 so the program is compatible then it must be your setup somewhere along the line. these things take awhile to sort by process of elimination
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Alienware Area 51m R2
    CPU
    10th Gen Core i9 10900K
    Memory
    32GB
    Graphics Card(s)
    Geforce RTX 2080 Super
    Screen Resolution
    1920x1080
    Hard Drives
    C: Samsung 2TB P981A
    D: Samsung 2TB 970 Evo
    E: Samsung 2TB 970 Evo (External)
    Mouse
    Alienware AW610M
    Browser
    Chrome and Firefox
    Antivirus
    Norton
    Other Info
    Killer E3000 Ethernet Controller
    Killer AX1650i Wi-Fi Network Adaptor
    Alienware Z01G Graphic Amplifier
    Tobii Eye Tracker
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 3501
    CPU
    11th Gen i-7 2.80 gb
    Memory
    16Gb
    Screen Resolution
    1920 x 1080
    Hard Drives
    512Gb SSD
    Browser
    Chrome
    Antivirus
    Norton
Top Bottom