INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: JohnP: Plugin development log  (Read 1489 times)

johnp

  • World Citizen
  • ***
  • Posts: 145
  • let your 'Yes' be 'Yes,' and your 'No,' 'No'
JohnP: Plugin development log
« on: January 20, 2006, 07:45:56 pm »

Where do I find the log information noted at #8?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Media Center 11.1.103 Release Candidate
« Reply #1 on: January 20, 2006, 07:54:52 pm »

Hi John,

Check here for debug logging:
Help > Configure Debug Logging...
Logged
Matt Ashland, JRiver Media Center

johnp

  • World Citizen
  • ***
  • Posts: 145
  • let your 'Yes' be 'Yes,' and your 'No,' 'No'
Re: Media Center 11.1.103 Release Candidate
« Reply #2 on: January 20, 2006, 08:07:57 pm »

Thanks!!
Logged

johnp

  • World Citizen
  • ***
  • Posts: 145
  • let your 'Yes' be 'Yes,' and your 'No,' 'No'
Re: Media Center 11.1.103 Release Candidate
« Reply #3 on: January 20, 2006, 08:21:18 pm »

What does this tell you?  Or perhaps, what should this tell me ( if I were smart ;) )?

0000781: General: CInterfacePlugins::StartSelectedPlugin: Start
0000781: General: CInterfacePlugins::StartSelectedPlugin: Loading plugin: Music Server
0000781: General: CInterfacePlugins::StartSelectedPlugin: Loading options
0000781: General: CInterfacePlugins::StartSelectedPlugin: Options loaded (GUID: {3CD19E3F-AE75-497E-825B-E99F254C7AAC}
0000781: General: CInterfacePlugins::StartSelectedPlugin: Build plug-in information object
0000781: General: CInterfacePlugins::StartSelectedPlugin: Attempting to create COM control
0000791: General: CInterfacePlugins::StartSelectedPlugin: Failed (last error = 0x0)
0008542: General: CInterfacePlugins::StartSelectedPlugin: Finish (7761 ms)
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: JohnP: Plugin development log
« Reply #4 on: January 20, 2006, 08:39:12 pm »

John,

I believe there's a plugin issue.

It looks the COM control is failing to get created.  If the DLL is not found or the GUID is wrong, you'll get an error.  I think error: 0 means something in the DLL itself is keeping it from loading or creating its interface.

You could try to create the COM object with the OLE Object Viewer from Visual Studio to see if it also fails. (I assume it will)

I'd work with the plugin developer (using logging, message-boxes, code removal, or whatever you need) to get to the bottom of it.  I'm not sure if there's much more we can do on our side.

Best,
-Matt
Logged
Matt Ashland, JRiver Media Center

johnp

  • World Citizen
  • ***
  • Posts: 145
  • let your 'Yes' be 'Yes,' and your 'No,' 'No'
Re: JohnP: Plugin development log
« Reply #5 on: January 20, 2006, 09:05:35 pm »

Thanks a million Matt.  This was very helpful.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: JohnP: Plugin development log
« Reply #6 on: January 20, 2006, 09:14:55 pm »

One more note: since it's taking 8 seconds to fail to create the COM control, it must be running a lot of initialize / construction code inside the plugin.  (but not the actual "Init" function since MC would call that later)

To simply load a DLL and create a basic COM control should take a tenth of a second (or so).  There must be some plugin code being run.
Logged
Matt Ashland, JRiver Media Center

johnp

  • World Citizen
  • ***
  • Posts: 145
  • let your 'Yes' be 'Yes,' and your 'No,' 'No'
Re: JohnP: Plugin development log
« Reply #7 on: January 21, 2006, 07:13:02 am »

Hi Matt,

Found the problem.  I needed an udpated ocx from the VB6 sp6 controls.  All is good now.

Thanks again.
Logged
Pages: [1]   Go Up