Click here to get back home

Win32::API problem...

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Win32::API problem... Rafał Kot 05-25-2005
Posted by Rafał Kot on May 25, 2005, 5:33 pm
Please log in for more thread options


Hello,
i got problem with Win32:API module. I have instaled ActivePerl on
windows 95 (i must use this one ;/ ) after this i have downloded
binary package Win32-Api, and ppm install Win32-API.ppd.

But when i try to run my program i get error:
Win32::API object version 0.41 does not match
$Win32::API::VERSION 0.01 at...

Anyone know how to fix it?

--
Pozdrawiam
Rafal Kot


Posted by Sisyphus on May 26, 2005, 12:50 pm
Please log in for more thread options



> Hello,
> i got problem with Win32:API module. I have instaled ActivePerl on
> windows 95 (i must use this one ;/ ) after this i have downloded
> binary package Win32-Api, and ppm install Win32-API.ppd.
>
> But when i try to run my program i get error:
> Win32::API object version 0.41 does not match
> $Win32::API::VERSION 0.01 at...
>
> Anyone know how to fix it?
>

Somehow the installation has not worked properly. Seems you have version
0.41 of API.dll, but version 0.01 of API.pm. I don't know how that has come
to happen. Best to first remove the Win32-API that you installed:
ppm remove Win32-API

It's not necessary to download the binary package, so I suggest moving it to
some place where it won't get found, and then run (while connected to the
internet):
ppm install Win32-API

Cheers,
Rob




Posted by Rafał Kot on May 27, 2005, 10:11 am
Please log in for more thread options


Sisyphus napisał(a):
> Somehow the installation has not worked properly. Seems you have version
> 0.41 of API.dll, but version 0.01 of API.pm. I don't know how that has come
> to happen. Best to first remove the Win32-API that you installed:
> ppm remove Win32-API
>
> It's not necessary to download the binary package, so I suggest moving it to
> some place where it won't get found, and then run (while connected to the
> internet):
> ppm install Win32-API

The problem is that on this old laptop i dont have internet
connection...

--
Pozdrawiam
Rafal Kot


Posted by Sisyphus on May 27, 2005, 6:21 pm
Please log in for more thread options



> Sisyphus napisał(a):

> > It's not necessary to download the binary package, so I suggest moving
it to
> > some place where it won't get found, and then run (while connected to
the
> > internet):
> > ppm install Win32-API
>
> The problem is that on this old laptop i dont have internet
> connection...
>

Oh ..... in that case we need that ppm that you downloaded. Somehow there
are 2 versions of Win32::API kicking around on that box - and I don't know
how that has come about. I would still try again by first deleting what you
have installed:
ppm remove Win32-API

then try to install using the ppm package you downloaded:
ppm install Win32-API.ppd

If that still fails can you provide us with a link to the ppm package that
you downloaded so that we can see exactly what you have (and also tell us if
the error has changed from what you originally got).

Cheers,
Rob




Posted by Rafał Kot on May 27, 2005, 5:07 pm
Please log in for more thread options


Sisyphus napisał(a):
[...]
> Oh ..... in that case we need that ppm that you downloaded. Somehow there
> are 2 versions of Win32::API kicking around on that box - and I don't know
> how that has come about. I would still try again by first deleting what you
> have installed:
> ppm remove Win32-API
>
> then try to install using the ppm package you downloaded:
> ppm install Win32-API.ppd
>
> If that still fails can you provide us with a link to the ppm package that
> you downloaded so that we can see exactly what you have (and also tell us if
> the error has changed from what you originally got).

Hello.
I'v done everything from begin, even perl reinstall, and now
its working. Strange ;)
Anyway thanks for your help!

--
Pozdrawiam
Rafal Kot


Similar ThreadsPosted
Problem installing win32::OLE September 20, 2005, 12:52 pm
win32::ie::mechanize PROBLEM December 10, 2004, 7:06 am
problem in using win32::SerialPort September 7, 2007, 2:27 am
Problem with Win32::API and pointers May 12, 2006, 10:02 am
Problem Installing Win32::OLE under cygwin May 15, 2005, 9:45 pm
Problem in using Win32::Process::Create July 24, 2007, 6:25 am
Win32::Daemon - multiple processor problem August 10, 2004, 6:03 am
Problem printing a file uing Win32::Printer September 30, 2006, 3:36 pm
Dave Roth's site (Win32::AdminMisc, Win32::ODBC, etc.) not available. December 22, 2005, 8:46 am
Problems installing Win32-Setupsup, Win32-CtrlGUI October 10, 2004, 12:31 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap