NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 20 21 22 23 24 … 93 Next »
WizTools - 1.x Plugin Development Toolkit

 
  • 0 Vote(s) - 0 Average
WizTools - 1.x Plugin Development Toolkit
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#131
2008-01-05, 07:24 AM
Looks like you don't have @Image defined in your skin.

try changing :

<DrawImage fileName="gamezone.jpg" loc="0,0" size="100,100" />
to
<DrawImage fileName="@Image" loc="0,0" size="100,100" />
idkpmiller
Offline

Posting Freak

Posts: 817
Threads: 141
Joined: May 2006
#132
2008-01-05, 07:42 AM
Can't believe I did that :o

corrected skin.xml to:

Code:
        <CompositeImage name="selectedemulator" size="75.0,5.0">
            <DrawText text="@text" loc="0,0" size="100,100" textStyle="LabelText" align="Left" />
            <DrawImage fileName="@Image" loc="0,0" size="100,100" /> loc="0,0" size="100,100" />
        </CompositeImage>

Still same error, the line referred to at 1081 is:

Code:
sel_emu_label = New UiStatic(skinHelper, "selectedemulator", args)


Any other obvious errors?

Cheers
Let the Games begin...Round 2!
GameZone v2.9.6 - PVRx2 1.4.7 compatible!

[Image: 1299379.png]
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#133
2008-01-05, 07:50 AM
Something that may - or may not - help. In Activate() use

Dim args As New Hashtable()

instead of

Dim args = New Hashtable()

It leaves args as an Object otherwise, which, possibly, could annoy sub's constructor. That's about all I can guess at this point.
idkpmiller
Offline

Posting Freak

Posts: 817
Threads: 141
Joined: May 2006
#134
2008-01-05, 08:57 AM
Ommina Wrote:Something that may - or may not - help. In Activate() use

Dim args As New Hashtable()

instead of

Dim args = New Hashtable()

It leaves args as an Object otherwise, which, possibly, could annoy sub's constructor. That's about all I can guess at this point.

Afraid that didnt change anything Sad
Let the Games begin...Round 2!
GameZone v2.9.6 - PVRx2 1.4.7 compatible!

[Image: 1299379.png]
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#135
2008-01-05, 09:44 AM
Meh, was worried that would be the case.

Hm. Well assuming both selectedEmulator and getEmulatorImage("gamezone") both have non-null values, that really just leaves skinHelper as the remaining item that you're passing to UiStatic.

I guess my next action would be to output each of those three values to the debug window directly before the New UiStatic, to see what exactly is being passed.
idkpmiller
Offline

Posting Freak

Posts: 817
Threads: 141
Joined: May 2006
#136
2008-01-05, 09:54 AM
Ommina Wrote:I guess my next action would be to output each of those three values to the debug window directly before the New UiStatic, to see what exactly is being passed.

I am trying to debug but I would really like to see how it is working while being run, your comment above suggests I can have some form of debug window open while I run the plugin, is that correct? if so I may need to snoop around and see if MS VB 2005 express allows this and how to set it up Big Grin

Cheers
Let the Games begin...Round 2!
GameZone v2.9.6 - PVRx2 1.4.7 compatible!

[Image: 1299379.png]
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#137
2008-01-05, 10:28 AM (This post was last modified: 2008-01-05, 10:33 AM by Ommina.)
It should be there... look for either the Output Window, or perhaps the Immediate Window. Then you can use Debug.WriteLine("Stuff!") within your code and see the results in the window.

Try Windows | Debug | Immediate. Or maybe Ctrl-G. (Standing, presumably, for "Gosh, it would be Great if this opened a Groovy immediate window".)

Edit! Once you get the Immediate window open, check that

Tools | Options | Debugging | General | Redirect all Output Window text to the Immediate Window

is selected.
idkpmiller
Offline

Posting Freak

Posts: 817
Threads: 141
Joined: May 2006
#138
2008-01-05, 11:52 AM
It just says a project with an output type of class library cannot be started directly. Sad
Let the Games begin...Round 2!
GameZone v2.9.6 - PVRx2 1.4.7 compatible!

[Image: 1299379.png]
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#139
2008-01-05, 11:59 AM
And indeed it can't!

Check the properties for your Project (clicking on MyProject in the solution will also bring it up). Then the Debug tab on the left, and change Start Action to 'start external program'. Put in the path to PVRX2 there.

Er, we seem to have strayed somewhat from the JW's Toolkit discussion. Should probably start a new threat before we derail this one right into the ground. /cough
idkpmiller
Offline

Posting Freak

Posts: 817
Threads: 141
Joined: May 2006
#140
2008-01-05, 12:15 PM
Apoligies to all (especially JW) for being side tracked, I am still having the same issue after many hours of playing if anyone has any ideas I would love to hear them, in the menatime I will read MS knowledge base on debugging class libraries :-)
Let the Games begin...Round 2!
GameZone v2.9.6 - PVRx2 1.4.7 compatible!

[Image: 1299379.png]
« Next Oldest | Next Newest »

Users browsing this thread: 4 Guest(s)

Pages (31): « Previous 1 … 12 13 14 15 16 … 31 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 3,107 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,578 2020-11-14, 08:01 PM
Last Post: sub
  Test/Development environment for npvr.db3 scJohn 10 4,617 2020-09-04, 09:14 PM
Last Post: scJohn
  VIdeo playback from plugin mvallevand 5 3,655 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 3,020 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,896 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,342 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
  Integrated Development Environment (IDE) for plugins osx-addict 5 2,877 2012-10-18, 08:35 PM
Last Post: osx-addict
  Plugin problems with started from the command line mvallevand 11 5,274 2012-08-12, 07:56 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode