Jump to content

RegEnum question


Recommended Posts

Hi !

This feature was implemented in 3.1.1.124 :

Changed : RegEnumKey and RegEnumVal return more precise @error to help diagnostic.

Is it possible to reverse it or to add a flag which give us the choice to enable/disable more precise @error

For example

RegEnumKey ( 'keyname', instance, [flag] )

with [optional] flag :

'' or 0 (default) = Disable more precise @error

1 = Enable more precise @error

It's very exasperating because I've made a function which uses RegEnumKey and when I use it or when I want to modify an old script, my application is running on a infinite loop....

thx for reading this message

Link to comment
Share on other sites

I hope I am not cluttering up the Latest Beta thread, but I was unsure if I should put this here or some where else.

I am having a problem with my plugin working after the most recent update. It is possible it was before then, but I didnt notice it as I only update every two to three beta's.

http://www.autoitscript.com/forum/index.ph...1010&st=60#

Sorry if this is the wrong place for this.

Thanks,

JS

AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Link to comment
Share on other sites

baghenamoth,

If you do not care for the accurate result number as return with the @error macro, then only check it for a non zero result. No changes are needed to do this.

While 1
    RegEnumKey($keyname, $instance)
    If @error Then ExitLoop
WEnd

The support forum is a great place to sort problems :D

That's perfect excatly the script I wrote to fix my pb, sorry not to have answered earlier.

Thx very much for your answer.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...