Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.

85 posts

Master Geek

Topic # 30526 11-Feb-2009 16:05
Send private message

I have been going through the Plugin creation tutorial ( I am using VS2005 SP1 on a Vista (x86) machine, running MPv1

All was going well until i got to this bit of code.
private void OnButtonOne()
  GUIDialogOK dlg = (GUIDialogOK)GUIWindowManager.GetWindow(
  dlg.SetHeading("Button has been pressed");
  dlg.SetLine(1, "You pressed button 1");
  dlg.SetLine(2, String.Empty);
  dlg.SetLine(3, String.Empty);

I get the compile error
"The type or namespace name 'GUIDialogOK' could not be found (are you missing a using directive or an assembly reference?)"

I am using the following as per the guide.

using System;
using System.Windows.Forms;
using MediaPortal.GUI.Library;

Now, i can only assume that proceedures in Core.Dll have changed since this guide was last updated, but i may be wrong.

I have looked around and it maybe that they have moved these controls into a different dll (Dialogs.dll), but this file is not included within the precompiled release and i am having create problems compiling the differing dlls from the source code.

Any ideas??



Create new topic

85 posts

Master Geek

  Reply # 195453 12-Feb-2009 08:10
Send private message

Got some help from the MediaPortal forum.

The dll in question (dialogs.dll) is located in the plugins\windows directory.


Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

News »

Targus set sights on enterprise and consumer growth in New Zealand
Posted 13-Aug-2018 13:47

Huawei to distribute nova 3i in New Zealand
Posted 9-Aug-2018 16:23

Home robot Vector to be available in New Zealand stores
Posted 9-Aug-2018 14:47

Panasonic announces new 2018 OLED TV line up
Posted 7-Aug-2018 16:38

Kordia completes first live 4K TV broadcast
Posted 1-Aug-2018 13:00

Schools get safer and smarter internet with Managed Network Upgrade
Posted 30-Jul-2018 20:01

DNC wants a safer .nz in the coming year
Posted 26-Jul-2018 16:08

Auldhouse becomes an AWS Authorised Training Delivery Partner in New Zealand
Posted 26-Jul-2018 15:55

Rakuten Kobo launches Kobo Clara HD entry level reader
Posted 26-Jul-2018 15:44

Kiwi team reaches semi-finals at the Microsoft Imagine Cup
Posted 26-Jul-2018 15:38

KidsCan App to Help Kiwi Children in Need
Posted 26-Jul-2018 15:32

FUJIFILM announces new high-performance lenses
Posted 24-Jul-2018 14:57

New FUJIFILM XF10 introduces square mode for Instagram sharing
Posted 24-Jul-2018 14:44

OPPO brings advanced technology to the smartphone market with new device
Posted 24-Jul-2018 09:20

Hawaiki Transpacific cable ready-for-service
Posted 20-Jul-2018 11:29

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.