in reply to Re: Any event modules that support STDIN polling for Windows?
in thread Any event modules that support STDIN polling for Windows?

After installing ExtUtils::Depends, ExtUtils::PkgConfig and Glib, I ran the code but was greeted with an error popup like this:

The procedure entry point g_initially_unowned_get_type could not be located in the dynamic link library libgobject-2.0-0.dll.

  • Comment on Re^2: Any event modules that support STDIN polling for Windows?

Replies are listed 'Best First'.
Re^3: Any event modules that support STDIN polling for Windows?
by zentara (Cardinal) on Aug 30, 2010 at 10:26 UTC
    It sounds like you have a version mismatch between the glib dll you have, and the Perl module.... its a common problem installing c-based modules on win32. If you want an easy way to get it going, put in Camelbox: A build of Gtk2-Perl for Windows , although that will give you a full Gtk2 install, in addition to the Glib base object library.

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh
      I just found out that I've already had Gtk2 DLLs installed and listed in the Path environment variable. Hence Perl attempted to use those DLLs instead of the ones I've fetched on recommendation by the Perl Package Manager. Since then, I've resolved the conflict and was able to run the piece of code you showed me. However just like most of the other modules that I've tried, it didn't respond to my keypresses.
        However just like most of the other modules that I've tried, it didn't respond to my keypresses.

        I think you have a low level software problem, ( maybe the win32 keystroke recorders are grabbing the keyboard, bwahaha :-)) Seriously, if multiple modules are ALL not responding to keyboard events, it may be a defective operating system. Maybe you need a few of the System patches provided by Microsoft?


        I'm not really a human, but I play one on earth.
        Old Perl Programmer Haiku ................... flash japh