Jump to content

Recommended Posts

Posted (edited)

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
  • Developers
Posted
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.
  :)

Posted (edited)
Posted (edited)

 

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

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

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
×
×
  • Create New...