Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Need to have win32::API module compatible with perl 5.6.1.635

by PerlRider (Initiate)
on Jan 15, 2013 at 09:27 UTC ( #1013333=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Need to have win32::API module compatible with perl 5.6.1.635
in thread Need to have win32::API module compatible with perl 5.6.1.635

Hi Corion, Thanks for the reply.. Actually I need to install win32::API module on a PC where MS Visual Studio is not installed and the perl version is 5.6.1.635. So, I downloaded win32-API module into my local PC where VS and perl 5.12 are installed and compiled by giving following commands: 1)perl Makefile.PL 2)nmake 3)make blib folder as Tar.gz file 4)nmake ppd After Compilation is done, I moved this tar file to destination PC and run below command: 1)ppm install Win32-API.ppd Here from your reply I am expecting that, since I compiled with perl version 5.12, I am getting the error. Isn't it? I will try with perl version 5.6 and post the results. Thanks


Comment on Re^4: Need to have win32::API module compatible with perl 5.6.1.635
Re^5: Need to have win32::API module compatible with perl 5.6.1.635
by Anonymous Monk on Jan 15, 2013 at 09:42 UTC

    So, I downloaded win32-API module into my local PC where VS and perl 5.12 are installed and compiled by giving following commands:

    That is not going to work, as you've been previously advised

    Why do things which have zero chance of working?

Re^5: Need to have win32::API module compatible with perl 5.6.1.635
by marto (Bishop) on Jan 15, 2013 at 09:46 UTC

    "After Compilation is done, I moved this tar file to destination PC and run below command:"

    A guide to installing modules for Win32, which touches on binary compatibility. This isn't going to work. I can't help feeling we're going round in circles. You need to spend the time to read and understand the responses you've been given.

Re^5: Need to have win32::API module compatible with perl 5.6.1.635
by bulk88 (Priest) on Jan 16, 2013 at 01:15 UTC
    That will never work. A Perl DLL made for one version of Perl is NOT compatible with any other version of Perl. You have to install 5.6.1.635 on the computer with Visual C/Studio. Then compile the module. Then copy it to the original computer with 5.6.1.635.

      Hi, Becuase of zero experience or no patience, I am not able to complete my task. I installed win32::API module onto perl 5.6.1.635 version. But when I tried to run the application using this module, I endup with strnage error: The application has failed to start because "COREDLL.dll was not found". I tried to search for the COREDLL.dll in pc but no use. :-(

        Did you run the Win32::API test suite (make test)? Did it pass?

        Is your program trying to load COREDLL.dll using Win32::API? Where did you search for COREDLL.dll in pc, did you search in %PATH%?

        zero experience + no patience = poor attitude , must employ patience until experience > 0

        Profile your application with http://www.dependencywalker.com/. You will see what DLL you called, and the dependencies of it (such as coredll.dll). If you don't have a coredll.dll, you need to contact the person that gave you the DLL you are using for coredll.dll.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2015-07-05 08:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (61 votes), past polls