Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2009
    Posts
    1

    Hkey_local_machine

    I have a problem on a 64 bits machine when i want to create a key in HKEY_LOCAL_MACHINE\SOFTWARE\MyApplication\Client with

    Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\MyApplication\\Client", "Multistart", "1", REG_SZ);

    the setup create the keys in

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Digicom\Client

    how can i solve this problem?

  2. #2
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    Quote Originally Posted by erwin degraeve View Post
    I have a problem on a 64 bits machine when i want to create a key in HKEY_LOCAL_MACHINE\SOFTWARE\MyApplication\Client with

    Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\MyApplication\\Client", "Multistart", "1", REG_SZ);

    the setup create the keys in

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Digicom\Client

    how can i solve this problem?
    Depending on the operating system, you may not be able to work around this. On certain platforms, only 64-bit applications are able to write in HKEY_LOCAL_MACHINE\SOFTWARE\Digicom\Client, while 32-bit applications are subject to registry redirection.

    Registry Redirector on MSDN: http://msdn.microsoft.com/en-us/libr...32(VS.85).aspx
    Registry Reflection on MSDN: http://msdn.microsoft.com/en-us/libr...35(VS.85).aspx

    Ulrich

  3. #3
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Quote Originally Posted by erwin degraeve View Post
    I have a problem on a 64 bits machine when i want to create a key in HKEY_LOCAL_MACHINE\SOFTWARE\MyApplication\Client with

    Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\MyApplication\\Client", "Multistart", "1", REG_SZ);

    the setup create the keys in

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Digicom\Client

    how can i solve this problem?
    see this post...
    Last edited by jassing; 06-17-2009 at 10:25 AM.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts