12-24-2019 07:11 AM - edited 12-24-2019 07:17 AM
Hello,
I am developing an application where a feature needs to access the system Registry keys,I am calling a dll built from Visual studio using Constructor node.When I run the VI getting below error,Attached vi and dll.
Kindly help me out to solve the issue.
Thanks in advance
Solved! Go to Solution.
12-25-2019 01:46 AM - edited 12-25-2019 01:49 AM
You already know that LabVIEW can do this natively; why use .NET?
12-30-2019 12:02 AM
Hello Bill,
I need admin rights to make changes in the Registry,I am not sure about doing it via LabVIEW,Is there any dll I can use it to Enable the Registry for Read/Write??
Kindly help me out
Regards
M.Sridhar
12-30-2019 03:46 AM
LabVIEW has Registry VIs. Of course do you need elevated rights for write access to certain parts of the registry, but that will not change if you put your registry access code into a .Net assembly and call that from a LabVIEW executable.
The .Net assembly eventually calls the same advapi.dll functions to access the registry and the check is in those functions if the current process has the correct permissions. By going through a roundabout through the .Net assembly should not change anything on that or Microsoft has a very serious problem!