octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52935] Feature Request - add "winqueryreg" fu


From: David O'Brien
Subject: [Octave-bug-tracker] [bug #52935] Feature Request - add "winqueryreg" function
Date: Mon, 22 Jan 2018 10:59:35 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Follow-up Comment #9, bug #52935 (project octave):

Thanks to all for your followup.  A couple of comments:

JEMRIS winqueryreg call does not use the 'name' syntax.  
I ran "mkoctfile winqueryreg.cc" and generated the .o and .oct versions.  Here
is the error I got running

>> jempath
error: winqueryreg: Error 2 reading the specified key.
error: called from
    jempath at line 4 column 5

and jempath source
if (strcmp(computer,'PCWIN64'))
    addpath ([winqueryreg('HKEY_LOCAL_MACHINE', 'SOFTWARE\Wow6432Node\JEMRIS',
'Path'),'matlab']);
else
    addpath ([winqueryreg('HKEY_LOCAL_MACHINE', 'SOFTWARE\JEMRIS',
'Path'),'matlab']);
end

I tried replacing 'matlab' in the winqueryreg call with 'octave' but this did
not change the error message.

Thanks for all of your help with this.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52935>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]