Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Thu, 30 Mar 2006 12:55:02 -0800,    group: microsoft.public.win32.programmer.tools        back       


Help using RegEnableReflectionKey   
I am looking for help with using the RegEnableReflectionKey() API call.  
Currently, I am trying to set up registry keys that are installed with our 
64-bit version of the app to get reflected to the 32-bit hive, so our native 
32-bit client can read those keys.

First I create a key "HKLM\software\samplekey" in the native 64-bit app.
Then I call RegEnableReflectionKey(handle to key) and get an ERROR_SUCCESS 
return value.
Finally, I use the RegQueryReflectionKey() to see if the enable reflection 
call worked, and it always returned false, indicating that this key does not 
have reflection enabled.

I verified that this key does not get created under the wow64 reg hive.

Can someone explain how to properly use this call to enable reflection for a 
key that I have just created?

Am I missing some other calls that need to be done as well?

-James
date: Thu, 30 Mar 2006 12:55:02 -0800   author:   James

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us