Think about Loose Coupling | |
PerlMonks |
Re^2: How to pass a pointer to an array of 'unsigned char' C data type with Win32::API ("U0")by apeks_okad (Novice) |
on Jul 28, 2016 at 11:08 UTC ( [id://1168719]=note: print w/replies, xml ) | Need Help?? |
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?
In Section
Seekers of Perl Wisdom
|
|