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?
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?