Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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 StayOnTop.pm 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 API.pm into the ...\lib\Win32 directory. I also downloaded StayOnTop.pm 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 smalllights.pl line 13

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


Comment on Re^2: How to be always on TOP
Select or Download Code
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 CPAN.pm or the makefile.pl it comes with.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://435182]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2014-12-21 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls