Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: How to be always on TOP

by gerry (Sexton)
on Feb 28, 2005 at 20:27 UTC ( #435182=note: print w/replies, xml ) Need Help??

in reply to Re: How to be always on TOP
in thread How to be always on TOP

I tried using the module, but I must be doing something wrong. I'm on Perl 5.8.0 so I assume I must use Win32::API. I downloaded into the ...\lib\Win32 directory. I also downloaded into the ..\lib\Tk directory.

I now have the following at the beginning of my code:

use Tk; use Win32::API; use Tk::StayOnTop; use IO::Socket; use IO::Select;

I updated the @INC to point to the Win32 directory. However, whenever, I attempt to run the program I keep getting the message:

Can't locate loadable object for module Win32::API in @INC (@INC conta +ins: C:\Perl\site\lib\Win32 C:\Perl\site\lib C:\Perl\site\lib\Win32\A +PI c:/Perl/lib c:/Perl/site/lib .) at line 13

I am not sure which loadable object is causing the problem. Is it possible that I need another module?

Replies are listed 'Best First'.
Re^3: How to be always on TOP
by fglock (Vicar) on Feb 28, 2005 at 21:04 UTC

    You may need to install the module using the ppm tool.

      SUCCESS! Thanks for everyone's help. I never used ppm before. It took me awhile to figure out how to install something that resided in multiple repositories, but it worked!

      I haven't worked with packages so the installation process wasn't familiar to me. However, everything is now working great. My little utility remains on top regardless what is moved over it (or should I say under it now).

      Again, thanks for all your help. Gerry

Re^3: How to be always on TOP
by BUU (Prior) on Feb 28, 2005 at 21:28 UTC
    Win32::API contains code that must be compiled, install it properly using or the it comes with.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://435182]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2018-03-18 22:19 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (231 votes). Check out past polls.