[rt.cpan.org #72018] When used with Selenium IE Driver (64-bit), this module crashes

[email protected] ("Aditya Ivaturi via RT")
Newsgroups perl.libwin32
Message-ID <[email protected]>
Fri Oct 28 14:37:58 2011: Request 72018 was acted upon.
Transaction: Ticket created by AIVATURI
       Queue: Win32-API
     Subject: When used with Selenium IE Driver (64-bit), this module crashes
   Broken in: 0.64
    Severity: Critical
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72018 >


I'm trying to implement Selenium IE Driver bindings in Perl. This module 
works fine under 32-bit mode but in 64-bit mode it crashes with the 64-
bit IE dll. 

My environment:

OS: Windows 7 64-bit
Perl: ActivePerl 64-bit v5.10
Win32::API v0.64 
Selenium IE Driver DLL: 
http://selenium.googlecode.com/svn/trunk/cpp/prebuilt/x64/Release/IEDriv
er.dll

Here are the steps to reproduce:

1) Download the IEDriver.dll from the link above.
2) Use this script to start a simple IE Driver server:

use strict;
use warnings;
use Win32::API;

my $start = Win32::API->new('IEDriver.dll', 'StartServer', 'I', 'P', 
'_cdecl');
my $server = $start->Call(4444);

BTW, this same script on a 32-bit Windows with Perl (32-bit) & 
Win32::API works as expected. The crash happens only in Perl 64-bit on 
Windows 7.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.