Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#615 WindowsRegistry open fails with ALL/default access

v4.0beta
closed
Mark Miesfeld
5
2012-08-14
2009-04-16
Brian Jongekryg
No

The attached program shows a failure on Windows XP (SP 3) trying to open a registry key using the default access -- e.g. "r~open(r~Current_User, "SOFTWARE")". The same call worked with ooRexx 3.2. Changing the call to set the access mode to "READ" works.

Discussion

  • Mark Miesfeld
    Mark Miesfeld
    2009-04-16

    Brian,

    First off, thanks for testing and opening up these issues.

    I'll take a look at this. Microsoft keeps tightening up their security. Is it possible that your program worked with 3.2.0 on XP with SP 2?

     
  • No, I had several programs that started failing because the registry "open" failed -- they worked before updating to ooRexx 4.0 (at least within the past week so definitely still on SP3) and failed afterwards.

    Adding the "READ" access is a relatively painless workaround for me, I think.

     
  • Mark Miesfeld
    Mark Miesfeld
    2009-04-16

    Brian,

    It looks like a bug to me. Don't change too many programs yet - it should be fixable.

     
  • Mark Miesfeld
    Mark Miesfeld
    2009-04-16

    Committed revision 4399.

    Brian, this will be fixed in the next build. We really appreciate your testing. I'll probably update the Windows build tomorrow morning since we have fixed a couple of Windows bugs now. If I do I'll post a message.

     


Anonymous


Cancel   Add attachments