python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
SQlite loads database from the wrong folder in c# on windows startup
I get this error when app starts on windows startup but the app runs perfect when i open it while the windows is running .
SQLite error (14): cannot open file at line 47640 of [b0c4230c89]
Exception t...
IanSurii
Votes: 0
Answers: 2
How to import ZwDeleteKey in C#: "External component has thrown an exception"
I am trying to use ZwDeleteKey to delete a registry symbolic link.
I imported it like that:
[DllImport("NtosKrnl.exe", CharSet = CharSet.Ansi, EntryPoint = "ZwDeleteKey", SetLastEr...

E235
Votes: 0
Answers: 1
How to delete registry key by using RegistryKey object as handle
I have a function (credit to @Charlieface) that opens a registry symlink and returns a RegistryKey handle:
public static RegistryKey OpenSubKeySymLink(this RegistryKey key, string name, RegistryRights...

E235
Votes: 0
Answers: 1
How to initialize RegistryKey variable
I have a function (OpenSubKeySymLink) that receives this kind of variable: this RegistryKey key.
I don't know how to initialize it and pass it to the function.
public static RegistryKey OpenSubKeySym...

E235
Votes: 0
Answers: 1