registry reads in 64bit OS-- Part II

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jassing
    Indigo Rose Customer
    • Jan 2001
    • 3124

    #31
    Originally posted by NitLions View Post
    Can this Registry64.lua be used with AMS 6.0 projects?
    Yes, but you can't just "include" it like you can in SUF -- you need to copy the contents of it into your global functions sections.

    Originally posted by NitLions View Post
    What I want to do is search the registry
    Then this solution is not for you. too slow; search the forums for the "other" solution, which is basically to export the registry with redirection off; then import it into the syswow64 redirect; then search.

    Originally posted by NitLions View Post
    Do I need to include the other two .lua files contained in the zip
    yes.

    Comment

    • troy.bleeker@barrsystems.com
      Forum Member
      • Mar 2009
      • 2

      #32
      Trying to use lua files in AMS 6.0 project

      I copy the content of the three lua files into my global functions, but I get a runtime error when on a 64bit PC.

      The RunReg function calls AddBS, but this function does not appear to be defined in the 3 lua files supplied.

      Code runs fine on a 32 bit machine, but then RunReg is never called in the scenario either.

      Any help would be appreciated.

      Troy Bleeker

      Comment

      • jassing
        Indigo Rose Customer
        • Jan 2001
        • 3124

        #33
        Sorry -- some functions were missing from the upload, I think the original post showed the missing functions, but:

        function AddBS( c )
        if String.Right(c,1) ~= "\\" then
        c = c .."\\";
        end
        return c;
        end
        function dbgout(a,b)
        end

        Comment

        Working...
        X