Skip to main content

[archive] Modifying DWORD Registry entry

  • June 30, 2009
  • 6 replies
  • 0 views

[Migrated content. Thread originally posted on 29 June 2009]

Anyone know the proper COBOL syntax for modifying a DWORD registry entry? I want to change the value from a "4" to a "2" and I keep getting garbage in there. I've tried several techniques which yield different results and was hoping perhaps someone had done this.

Thanks in advance.

Rob

6 replies

[Migrated content. Thread originally posted on 29 June 2009]

Anyone know the proper COBOL syntax for modifying a DWORD registry entry? I want to change the value from a "4" to a "2" and I keep getting garbage in there. I've tried several techniques which yield different results and was hoping perhaps someone had done this.

Thanks in advance.

Rob
I don't have an example at hand, but I can certainly help you find your problem.
Should be good to have a starting point, any small example of how you go about?

[Migrated content. Thread originally posted on 29 June 2009]

Anyone know the proper COBOL syntax for modifying a DWORD registry entry? I want to change the value from a "4" to a "2" and I keep getting garbage in there. I've tried several techniques which yield different results and was hoping perhaps someone had done this.

Thanks in advance.

Rob
I don't have an example at hand, but I can certainly help you find your problem.
Should be good to have a starting point, any small example of how you go about?

[Migrated content. Thread originally posted on 29 June 2009]

Anyone know the proper COBOL syntax for modifying a DWORD registry entry? I want to change the value from a "4" to a "2" and I keep getting garbage in there. I've tried several techniques which yield different results and was hoping perhaps someone had done this.

Thanks in advance.

Rob
I don't have an example at hand, but I can certainly help you find your problem.
Should be good to have a starting point, any small example of how you go about?

[Migrated content. Thread originally posted on 29 June 2009]

Anyone know the proper COBOL syntax for modifying a DWORD registry entry? I want to change the value from a "4" to a "2" and I keep getting garbage in there. I've tried several techniques which yield different results and was hoping perhaps someone had done this.

Thanks in advance.

Rob
I actually went about resolving this problem a different way and don't even have my original code that I started with. I think my problem had to do with how I defined my field and perhaps the size that I was using. I wasn't sure if I needed to use a hexadecimal number when using the routine or not. Thanks for the offer as always.

[Migrated content. Thread originally posted on 29 June 2009]

Anyone know the proper COBOL syntax for modifying a DWORD registry entry? I want to change the value from a "4" to a "2" and I keep getting garbage in there. I've tried several techniques which yield different results and was hoping perhaps someone had done this.

Thanks in advance.

Rob
I actually went about resolving this problem a different way and don't even have my original code that I started with. I think my problem had to do with how I defined my field and perhaps the size that I was using. I wasn't sure if I needed to use a hexadecimal number when using the routine or not. Thanks for the offer as always.

[Migrated content. Thread originally posted on 29 June 2009]

Anyone know the proper COBOL syntax for modifying a DWORD registry entry? I want to change the value from a "4" to a "2" and I keep getting garbage in there. I've tried several techniques which yield different results and was hoping perhaps someone had done this.

Thanks in advance.

Rob
I actually went about resolving this problem a different way and don't even have my original code that I started with. I think my problem had to do with how I defined my field and perhaps the size that I was using. I wasn't sure if I needed to use a hexadecimal number when using the routine or not. Thanks for the offer as always.