Jump to content
Sign in to follow this  
Hannes

Regenumkey Returns Wrong @error Flag ?

Recommended Posts

example:

$hivekey_nn = RegEnumKey("HKEY_USERS\Network",1)

MsgBox(0,"",@error & @CRLF & $hivekey_nn)

-----------------------------------

with beta 3.1.1.120 i returned @error = 3, while trying to read a subkey, that doesn't exist.

As documented this should be 1 ("... unable to open requested key.").

I am wrong ?

Hannes

Share this post


Link to post
Share on other sites

example:

$hivekey_nn = RegEnumKey("HKEY_USERS\Network",1)

MsgBox(0,"",@error & @CRLF & $hivekey_nn)

-----------------------------------

with beta 3.1.1.120 i returned @error = 3, while trying to read a subkey, that doesn't exist.

As documented this should be 1 ("... unable to open requested key.").

I am wrong ?

Hannes

HI,

returns 1 to me. :think:

So long,

Mega

Edit: Forget to say using 119 !!!

Edited by th.meger

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

I am on the process of debugging some Netware problem so I change temporary the @error.

0 is still successfull.

all other are still errors.

I will put them back in the documented way when I get the solution. :think:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...