develooper Front page | perl.perl6.users | Postings from January 2020

NativeCall bug: can't find final ')'

Thread Next
From:
ToddAndMargo via perl6-users
Date:
January 1, 2020 02:53
Subject:
NativeCall bug: can't find final ')'
Message ID:
d5c819b0-bd16-a138-591d-4b726009acd1@zoho.com

perl6 -I. -e "use WinReg :WinReadRegKey; say WinReadRegKey( 
HKEY_LOCAL_MACHINE, 
Q[SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system], 
Q[EnableLUA] );"

===SORRY!=== Error while compiling K:\Windows\NtUtil\WinReg.pm6 (WinReg)

Unable to parse expression in argument list; couldn't find final ')' 
(corresponding starter was at line 178) at K:\Windows\NtUtil\WinReg.pm6 
(WinReg):178

------> eName, DWORD, REG_SZ, $lpData, $lpcbData<HERE> is rw );
     expecting any of:
         infix
         infix stopper


"final ')' " is a bad error.   The actual error is that NativeCall does 
not like the "is rw".  Please fix.

Many thanks,
-T

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About