Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by syphilis (Archbishop)
on May 03, 2014 at 00:33 UTC ( [id://1084859]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

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

    No recent polls found