Sign in to follow this  
Followers 0
datskat

RegRead() function in v 3.1.1.26

13 posts in this topic

get error 1 when trying to read registry values (worked ok using version 3.1.1.0)

$reg_value = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run","MSMSGS")
MsgBox (0,"Tester","Error: " & @Error & @CRLF & "Reg value: " & $reg_value )

Share this post


Link to post
Share on other sites



get error 1 when trying to read registry values (worked ok using version 3.1.1.0)

$reg_value = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run","MSMSGS")
MsgBox (0,"Tester","Error: " & @Error & @CRLF & "Reg value: " & $reg_value )

<{POST_SNAPBACK}>

does not work under 3.1.1 and XP/SP2 check with regedit if the value is really defined. :(

Share this post


Link to post
Share on other sites

does not work under 3.1.1 and XP/SP2 check with regedit if the value is really defined. :(

<{POST_SNAPBACK}>

Running on win2k, have checked that reg key/value is defined. If i run this script using prod version of autoit (v3.1.1.0) works ok, if i run using autoit beta (v3.1.1.26) it fails

Share this post


Link to post
Share on other sites

Running on win2k, have checked that reg key/value is defined. If i run this script using prod version of autoit (v3.1.1.0) works ok, if i run using autoit beta (v3.1.1.26) it fails

<{POST_SNAPBACK}>

Do you have access to an XP version? If yes can you check it fail too.

Thanks for your cooperation.

Share this post


Link to post
Share on other sites

Do you have access to an XP version? If yes can you check it fail too.

Thanks for your cooperation.

<{POST_SNAPBACK}>

JPM, see my other post in the 3.1.1+ as reply to LOULOU..

There really is an issue with RegRead on Win2K.

it returns nothing with @error = 1 when used wiith ver 3.1.1.25 ... and is working fine with 3.1.1 .....

Don't have the option to debug ...


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

JPM, see  my other post in the 3.1.1+ as reply to LOULOU..

There really is an issue with RegRead on Win2K.

it returns nothing with @error = 1 when used wiith ver 3.1.1.25 ... and is working fine with 3.1.1 .....

Don't have the option to debug ...

<{POST_SNAPBACK}>

JPM gives me a new AutoIt3.exe installing in beta version which solve two problem :

- The problem of regread

- and the problem of date udf

Both works well on Windows 2000 SP4

I say to JPM that's all is good but i have no answering.

Share this post


Link to post
Share on other sites

I tested it here, and it fails with version 3.1.1.26 but when tested with 3.1.1

there were no problems. Tested under Windows 2000 Pro SP4..

Share this post


Link to post
Share on other sites

JPM gives me a new AutoIt3.exe installing in beta version which solve two problem :

- The problem of regread

- and the problem of date udf

Both works well on Windows 2000 SP4

I say to JPM that's all is good but i have no answering.

<{POST_SNAPBACK}>

You have no answer because I am still looking to the final solution which will allow to access the 64-bit registry

Sorry for the trouble :(

Share this post


Link to post
Share on other sites

You have no answer because I am still looking to the final solution which will allow to access the 64-bit registry

Sorry for the trouble :(

<{POST_SNAPBACK}>

No trouble JPM you are very kindly to do what you do

Share this post


Link to post
Share on other sites

@JPM: sent you a small function I used in march for a macro to detect Win64 (maybe you remember it...)

So you could maybe find it usefull :(

Regards

Holger

<{POST_SNAPBACK}>

Thanks it will be very useful :(

Share this post


Link to post
Share on other sites

RegRead() function works great on win2k - SP4 using autoit version 3.1.1.27. Much thanks to jpm :(

Share this post


Link to post
Share on other sites

RegRead() function works great on win2k - SP4 using autoit version 3.1.1.27. Much thanks to jpm :)

<{POST_SNAPBACK}>

Thanks to you for pointing out the problem. :( I am runnining under XP and the pb was not occuring :

We need help as you fellow beta tester :(

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  
Followers 0