Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl

by gri6507 (Deacon)
on May 02, 2014 at 16:37 UTC ( [id://1084807]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl
in thread Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl

Here's what I have:
This is perl 5, version 18, subversion 2 (v5.18.2) built for MSWin32-x +86-multi-thread-64int
I am a bit surprised that it says "64int" in the build description. I just checked in my downloads folder - I installed from http://strawberryperl.com/download/5.18.2.2/strawberry-perl-5.18.2.2-32bit.msi

Replies are listed 'Best First'.
Re^5: Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl
by syphilis (Archbishop) on May 03, 2014 at 00:33 UTC
    I am a bit surprised that it says "64int" in the build description

    It's a 32-bit build of perl, but it does have 64-bit integers. (Advice provided earlier in this thread that such a perl is unavailable is wrong.)

    I suspect that it's perl's 64-bit integers that are creating your problem.
    If you go to http://strawberryperl.com/releases.html you'll see there's a without USE_64_BIT_INT portable edition that you can install anywhere you like.
    It will give you 32-bit integers - which will hopefully allow Win32::SerialPort to perform correctly, thereby proving that there's a bug in the 64-bit handling of Win32::SerialPort (which should be reported).

    Cheers,
    Rob
      Hello,

      just confirming that with the 32-bit version of Strawberry Perl without USE_64_BIT_INT portable version the Win32:SerialPort works fine.

      One issue I ran into was that the installer fails if you don't have a COM1 port on your system, but you can override this with

      perl Makefile.PL TESTPORT=COMx
      when building the Win32::SerialPort module.

      Regards, Hollie.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-03-19 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found