Posts: 211
Joined: Mar 2009
Reputation:
1
Maybe it is because it says it is an sdl app before it says xbmc?!? and it only checks the xbmc?
/needtotest
Posts: 418
Joined: Oct 2004
Reputation:
0
What the heck did someone delete my post from last night? Yes, it is because the FindWindow doesn't match due to the name not being set. However, just looking for both doesn't help because the space between the check and the creation of the window is long enough that you can still launch multiple copies.
Really the only reliable way to do this in Win32 is with a null-security named mutex.
Posts: 1,165
Joined: Jan 2009
Reputation:
2
CrashX
Posting Freak
Posts: 1,165
Windows version of xbmc already does check for multiple instance of xbmc ..
The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use
XBMC Debug Log Addon to retrieve it.
Posts: 3,746
Joined: May 2004
Reputation:
20
Livin
Posting Freak
Posts: 3,746
The interesting thing is that I cannot get it to load multiples on my own.
BUT when I'm using it in daily use, I use EventGhost to start XBMC... and often (once a day or more) it will start 2 or 3 instances.
I'm not an expert but I play one at work.
Posts: 3,944
Joined: Mar 2006
Reputation:
170
I can confirm this, with versions of XBMC dating back... I don't know. Six months at least? EventGhost key bound on the remote with just XBMC.exe, often leads to two instances running.
Posts: 1,165
Joined: Jan 2009
Reputation:
2
CrashX
Posting Freak
Posts: 1,165
Looks like Wiso has recently fixed it using mutex for windows. Hence it is no longer an issue with windows.
The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use
XBMC Debug Log Addon to retrieve it.