Author Topic: How to enable multiple instances in Windows?  (Read 1195 times)

mingle

  • Posts: 8
Hi,

I'm slightly confused by the behaviour of XMPlay unde3r Windows 10.

I have the "Option & stuff > Miscellaneous > Allow multiple instances" enabled, but when I already have an audio-file playing in XMPlay and then I double-click on another audio-file (either on the desktop or via Windows Explorer), the new audio-file is played in the current instance of XMPlay and another instance doesn't open.

When I click-on a new audio-file, I expect a new instance of XMPlay to open.

Is this something to do with the way Windows file-associations is set-up?

Cheers,

Mike.

Ian @ un4seen

  • Administrator
  • Posts: 26095
Re: How to enable multiple instances in Windows?
« Reply #1 on: 5 Jul '23 - 16:36 »
Windows Explorer will send a file to an existing instance (via XMPlay's DropTarget/DDE) if there is one, rather than starting another one, so it isn't affected by the "Allow multiple instances" option setting. I think the only way to prevent that is to disable the DropTarget/DDE stuff. If you would like to try that, you can do so by running REGEDIT and deleting the "HKEY_CURRENT_USER\SOFTWARE\Classes\XMPlay\shell\Open\ddeexec" and "HKEY_CURRENT_USER\SOFTWARE\Classes\XMPlay\shell\Open\droptarget" branches and appending "%1" to the "HKEY_CURRENT_USER\SOFTWARE\Classes\XMPlay\shell\Open\command" default value. You will also need to add a "NoReg=1" line to your XMPLAY.INI file to prevent XMPlay fixing those registry settings next time you run it.