If i use Win32::File to create a file handle, Perl complain about can't packetize
So i created a struct like the example becouse the dll was made with visual c++ and appear work
Win32::API::Struct->typedef( 'HANDLE', qw( LPCTSTR lpFileName; DWORD dwDesiredAccess; DWORD dwShareMode; LPSECURITY_ATTRIBUTES lpSecurityAttributes; DWORD dwCreationDisposition; DWORD dwFlagsAndAttributes; HANDLE hTemplateFile; )); my $handle = Win32::API::Struct->new( 'HANDLE' );
Unfortunately without documentation, i receive a Dll Runtime Error, so i guest that i missed other parameter but this's another history
Thank and Merry Christmas
In reply to Re^2: How to create a File Handle Struct with Win32::API::Struct
by way
in thread How to create a File Handle Struct with Win32::API::Struct
by way
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |