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

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
  • Comment on Re^5: Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl

Replies are listed 'Best First'.
Re^6: Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl
by hollie (Novice) on Oct 20, 2014 at 11:18 UTC
    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.