in reply to Re: How to pass a pointer to an array of 'unsigned char' C data type with Win32::API ("U0")
in thread How to pass a pointer to an array of 'unsigned char' C data type with Win32::API
Oh... now that makes sense.
So I changed the code accordingly as follows
my $data_ref = pack ('U0C*', (0x81 , 0x55, 0x00, 0xE0));But still end up with the same problem
Maybe its worth the mention that I use Strawberry Perl 5.24.0 (32Bit) on a Win7 64 Bit Machine (since the DLL provided by the manufacturer is a 32 Bit DLL). Could this lead to problems with the array reference?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: How to pass a pointer to an array of 'unsigned char' C data type with Win32::API ("U0")
by syphilis (Archbishop) on Jul 28, 2016 at 14:04 UTC | |
Re^3: How to pass a pointer to an array of 'unsigned char' C data type with Win32::API (error)
by tye (Sage) on Jul 28, 2016 at 14:07 UTC | |
by apeks_okad (Novice) on Jul 28, 2016 at 15:52 UTC | |
by tye (Sage) on Jul 28, 2016 at 17:21 UTC | |
by apeks_okad (Novice) on Jul 28, 2016 at 22:54 UTC | |
by apeks_okad (Novice) on Aug 02, 2016 at 14:29 UTC |
In Section
Seekers of Perl Wisdom