2012-02-18, 06:17
hey,...
i have seen that is possible to remove the limitation of 1 instance of xbmc
from the code,...
i need to do that,...
can you indicate the code to modify to make that possible ?...
i have seen that
at XBMC_PC.cpp (124)
but not sure
i try but no results at this time,...
thx for your comprehension,...
i have seen that is possible to remove the limitation of 1 instance of xbmc
from the code,...
i need to do that,...
can you indicate the code to modify to make that possible ?...
i have seen that
Code:
// check if XBMC is already running
CreateMutex(NULL, FALSE, "XBMC Media Center");
if(GetLastError() == ERROR_ALREADY_EXISTS)
{
HWND m_hwnd = FindWindow("XBMC","XBMC");
if(m_hwnd != NULL)
{
// switch to the running instance
ShowWindow(m_hwnd,SW_RESTORE);
SetForegroundWindow(m_hwnd);
}
return 0;
}
at XBMC_PC.cpp (124)
but not sure
i try but no results at this time,...
thx for your comprehension,...