On Sunday, 29 May 2016 at 16:46:34 UTC, Era Scarecrow wrote:
you should see the problem. Here's the correct line!
writeRegistryKeys(k.getKey(key.name()));
this just occurred to me i tried to keep to the example but i
shouldn't have. Since you already have the inner key, just pass
On Sunday, 29 May 2016 at 15:48:49 UTC, TheDGuy wrote:
Hello,
i am wondering what is wrong with my code:
import std.windows.registry;
import std.stdio;
void main(){
Key lclM = Registry.localMachine();
Key hrdw = lclM.getKey("HARDWARE");
writeRegistryKeys(hrdw);
}
void writeRegistry
Hello,
i am wondering what is wrong with my code:
import std.windows.registry;
import std.stdio;
void main(){
Key lclM = Registry.localMachine();
Key hrdw = lclM.getKey("HARDWARE");
writeRegistryKeys(hrdw);
}
void writeRegistryKeys(Key k){
foreach(Key key; k.keys){
write