Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Cross-Compile Perl Modules for Win x64

by fatmcgav (Novice)
on Dec 30, 2008 at 15:38 UTC ( [id://733279]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Cross-Compile Perl Modules for Win x64
in thread Cross-Compile Perl Modules for Win x64

Ok, i've had a read of the MakeFile.pl for Win32-SystemInfo, and it lists Win32::API as a requirement...

Am i right in thinking i'm stuck as i cant use Win32::API on a 64Bit box???

Comments???

Cheers
Gavin
  • Comment on Re^3: Cross-Compile Perl Modules for Win x64

Replies are listed 'Best First'.
Re^4: Cross-Compile Perl Modules for Win x64
by Corion (Patriarch) on Dec 30, 2008 at 15:42 UTC

    As far as I'm aware, 32-bit programs still work well on 64bit incarnations of Windows, so you could try moving everything down to 32-bit Perl. I haven't looked into it, so I'm unaware of any immediate problem of Win32::API on 64-bit Windows. But I know it uses some assembly language to achieve the call between Perl / C and the operating system, so that part might get tripped up by the registers changing size.

      Win32::API doesn't build in 64-bit mode. You can use 32-bit Perl just fine on 64-bit Windows, but you need to be aware that you are running inside the WOW64 (Windows on Windows64) environment, which will redirect parts of the file system and registry, so you don't see all parts of the system.

      Note also that you cannot call 64-bit DLLs from 32-bit code and vice versa.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-19 04:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found