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

[email protected] ("Daniel Dragan via RT")
Newsgroups perl.libwin32
Message-ID <[email protected]>
Fri Oct 19 01:27:10 2012: Request 72018 was acted upon.
Transaction: Correspondence added by BULKDD
       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 >


On Fri Oct 28 14:37:58 2011, AIVATURI wrote:
> 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. 

Can you try the latest version of Win32::API 0.72 from CPAN and see if
it fixes your problem?
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.