My Latest with Wolf's recommendations. Now I
can open and close the key, but still am getting
an invalid parameter trying to read the key
K:\Windows\NtUtil>perl6 -I. -e "use WinMount :GetLUA; say GetLUA();"
RegOpenKeyExW
RegOpenKeyExW RtnCode 0
RegQueryValueExW
1
2
On 2019-12-27 00:45, WFB wrote:
Hi Todd,
According to this:
https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-
Return code 161 means: ERROR_BAD_PATHNAME.
Changing your code fixed that:
my Str $SubKey =
Hi Todd,
According to this:
https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-
Return code 161 means: ERROR_BAD_PATHNAME.
Changing your code fixed that:
my Str $SubKey =
'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System';
my $lpValueName =
I would love to look into that, however, my son needs all my free time and
I do have very little knowledge about NativeCall.
I hope I will find time in the next days to learn more of this stuff, but I
will not much help :-(
On Fri, 27 Dec 2019 at 07:31, ToddAndMargo via perl6-users <
This is how far I have gotten:
Note that is I use a "0" in
$RtnCode = RegQueryValueExW( HKEY_LOCAL_MACHINE, $lpValueName, 1,
REG_DWORD, $lpData, $lpcbData );
The program dies with no return code.
-T
K:\Windows\NtUtil>perl6 -I. -e "use WinMount :GetLUA; say
GetLUA();"
On 2019-12-25 21:48, WFB wrote:
BTW, hat would be also a great module for pushing to
https://modules.raku.org/.
Not sure my code is good enough for that. :'(
On 2019-12-25 21:48, WFB wrote:
On Wed, 25 Dec 2019 at 23:10, ToddAndMargo via perl6-users
mailto:perl6-users@perl.org>> wrote:
Hi All,
Windows
https://docs.microsoft.com/en-us/windows/win32/sysinfo/retrieving-data-from-the-registry
How do I use this to read retrieve a
On Wed, 25 Dec 2019 at 23:10, ToddAndMargo via perl6-users <
perl6-users@perl.org> wrote:
> Hi All,
>
> Windows
>
>
> https://docs.microsoft.com/en-us/windows/win32/sysinfo/retrieving-data-from-the-registry
>
> How do I use this to read retrieve a value of a registry key?
>
> Many thanks,
> -T
>
Hi All,
Windows
https://docs.microsoft.com/en-us/windows/win32/sysinfo/retrieving-data-from-the-registry
How do I use this to read retrieve a value of a registry key?
Many thanks,
-T