More > JRiver Media Center 19 for Windows
MC 19.0.146 Automation Interface appears to be missing
dheiskell:
I recently upgraded from MC 17 to MC 19. I have an app that called the Automation interface on MC17, it can't find the interface on 19. I get an invalid class string from the following code which is still the method documented.
HRESULT hr = m_pMJ.GetActiveObject (L"MediaJukebox Application");
if (hr != S_OK)
{
hr = m_pMJ.CreateInstance(L"MediaJukebox Application");
if( hr == S_OK )
{
I tried building with Media Center 19.tlb versus the one from 17 and that had no effect. Both GetActiveObject and CreateInstance fail where MC19 is already running or not. I am wondering if MC 19's COM interface wasn't registered when it was installed? MC 17 was on the machine and then it was uninstalled after installing 19. Could this lead to the automation interface disappearing?
JimH:
Did you try the DevZone?
http://wiki.jriver.com/index.php/DevZone
dheiskell:
Yes Jim I did that's where the original code came from.
Mysticeti:
Was the "Automation Interface" dropped in newer versions or is there an option on install we need to check?
JimH:
Not as far as I know.
Navigation
[0] Message Index
[#] Next page
Go to full version