NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 42 43 44 45 46 … 93 Next »
My Plugin Breaks with 1.00.8

 
  • 0 Vote(s) - 0 Average
My Plugin Breaks with 1.00.8
mkenyon2
Offline

Senior Member

Posts: 715
Threads: 208
Joined: Dec 2006
#1
2007-07-12, 10:37 PM
I'm assuming it's something I did... but, I get this:
2007-07-11 22:22:40.281 VERBOSE [6] About to check file: C:\Program Files\devnz\gbpvr\plugins\Legacy\Basic_GBPVR_Plugin.dll
2007-07-11 22:22:40.296 ERROR [6] Error initializing menu plugin: C:\Program Files\devnz\gbpvr\plugins\Legacy\Basic_GBPVR_Plugin.dll
2007-07-11 22:22:40.296 ERROR [6] Exception has been thrown by the target of an invocation.
2007-07-11 22:22:40.296 ERROR [6] at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at GBPVR.Backend.Common.xc4f12ec3a8a4c96b.xd1ccdef346e6a297(Boolean x8bae2a88590d8cc0)
2007-07-11 22:22:40.312 ERROR [6] Inner exception: System.Threading.ThreadStateException: ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment.
at System.Windows.Forms.WebBrowserBase..ctor(String clsidString)
at System.Windows.Forms.WebBrowser..ctor()
at Basic_GBPVR_Plugin.Class1..ctor()
2007-07-11 22:22:40.312 ERROR [6] at System.Windows.Forms.WebBrowserBase..ctor(String clsidString)
at System.Windows.Forms.WebBrowser..ctor()
at Basic_GBPVR_Plugin.Class1..ctor()

Basically, what I'm doing is loading a control, and using the .DrawAsBitmap (or something like that) to draw it to the image object in the Render method.

Any thoughts?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2007-07-12, 10:45 PM
Sorry, I'm not really sure on that one. I've not had to use any activex controls.

I assume you've googled on the 'cannot be instantiated because the current thread is not in a single-threaded apartment' part of the error?
mkenyon2
Offline

Senior Member

Posts: 715
Threads: 208
Joined: Dec 2006
#3
2007-07-13, 10:50 PM
It worked when I moved it above the Exit Plugin.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 3,104 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,576 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,653 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 3,018 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,893 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,340 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 2,035 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 5,269 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,349 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,506 2012-01-15, 08:33 PM
Last Post: imilne

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode