Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

DllNotFoundException: Unable to load DLL 'libgtk-win32-2.0-0.dll #937

Open
Shadowblitz16 opened this issue May 15, 2019 · 2 comments
Open

Comments

@Shadowblitz16
Copy link

I am having more problems with this library.

System.Exception
  HResult=0x80131500
  Message=Toolkit could not be loaded
  Source=Xwt
  StackTrace:
   at Xwt.Toolkit.LoadBackend(String type, Boolean isGuest, Boolean throwIfFails)
   at Xwt.Toolkit.Load(String fullTypeName, Boolean isGuest)
   at Xwt.Application.Initialize(String backendType)
   at Xwt.Application.Initialize(ToolkitType type)
   at XwtTest.Program.Main(String[] args) in C:\Users\Shadowblitz16\source\repos\XwtTest\XwtTest\Program.cs:line 12

Inner Exception 1:
DllNotFoundException: Unable to load DLL 'libgtk-win32-2.0-0.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)
using System;
using Xwt;

namespace XwtTest
{
    class Program
    {

        [STAThread]
        static void Main(string[] args)
        {
            Application.Initialize(ToolkitType.Gtk);

            //Create the Window
            var mainWindow = new Window()
            {
                Title = "HelloWorld",
                Width = 640,
                Height = 480
            };

            mainWindow.Show();
            Application.Run();
            mainWindow.Dispose();
        }
    }
}

notes...
-Xwt and Xwt.Gtk are References in the project
-Mono 32bit and Gtk# is installed

@Shadowblitz16
Copy link
Author

@sevoku can I get some info on this I still can't get this to work.

@Codes-Breaker
Copy link

@sevoku can I get some info on this I still can't get this to work.

same, have you ever solved this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants