Jump to content

an error in the AutoItConstants.au3 include file - (Moved)


Recommended Posts

hello sirs

today i was reading the AutoItConstants.au3 file and i remarked that their is an error on the registry constenses

and here is the error

; Reg Value type Constants
Global Const $REG_NONE = 0
Global Const $REG_SZ = 1
Global Const $REG_EXPAND_SZ = 2
Global Const $REG_BINARY = 3
Global Const $REG_DWORD = 4
Global Const $REG_DWORD_LITTLE_ENDIAN = 4
Global Const $REG_DWORD_BIG_ENDIAN = 5
Global Const $REG_LINK = 6
Global Const $REG_MULTI_SZ = 7
Global Const $REG_RESOURCE_LIST = 8
Global Const $REG_FULL_RESOURCE_DESCRIPTOR = 9
Global Const $REG_RESOURCE_REQUIREMENTS_LIST = 10
Global Const $REG_QWORD = 11
Global Const $REG_QWORD_LITTLE_ENDIAN = 11
 

if you seen

the number 4 is repeated  also the number 11

here is the correction

 

; Reg Value type Constants
Global Const $REG_NONE = 0
Global Const $REG_SZ = 1
Global Const $REG_EXPAND_SZ = 2
Global Const $REG_BINARY = 3
Global Const $REG_DWORD = 4
Global Const $REG_DWORD_LITTLE_ENDIAN = 5
Global Const $REG_DWORD_BIG_ENDIAN = 6
Global Const $REG_LINK = 7
Global Const $REG_MULTI_SZ = 8
Global Const $REG_RESOURCE_LIST = 9
Global Const $REG_FULL_RESOURCE_DESCRIPTOR = 10
Global Const $REG_RESOURCE_REQUIREMENTS_LIST = 11
Global Const $REG_QWORD = 12
Global Const $REG_QWORD_LITTLE_ENDIAN = 13
 

i hope that you can correct that in the newest versions

thanks allot for your hard work.

accepting my greetings

Edited by nacerbaaziz
Link to comment
Share on other sites

  • Developers
1 minute ago, nacerbaaziz said:

you are right but how that?

Can you explain that to me? please

What is there to explain? It is pretty straightforward when you look at the linked page...no?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

@nacerbaaziz Why do you insist in posting code without <>.  You have been told many times to do so...

Don't tell me you are sorry, don't call me dear, don't call me sir, just call me nine ! And tell me why ?

Edited by Nine
Link to comment
Share on other sites

 

1 hour ago, nacerbaaziz said:

how can we differentiate them?

 

you dont, thats what "equivalent to REG_DWORD" means at the end of the description.  It is the same thing, doing the same thing.

 

For my edification:  How could specifying, retrieving, or even having cursory knowledge of all the magic_strings help in this case?  what is the end goal?

 

Edited by iamtheky
s/whimsy/feignedcuriosity

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

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...