Click here to Skip to main content
15,893,814 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need to 'hire' a programmer for a very small program. 75 % complete already Pin
Christian Graus13-Dec-08 11:37
protectorChristian Graus13-Dec-08 11:37 
GeneralRe: Need to 'hire' a programmer for a very small program. 75 % complete already Pin
Guffa13-Dec-08 16:01
Guffa13-Dec-08 16:01 
GeneralRe: Need to 'hire' a programmer for a very small program. 75 % complete already Pin
Xmen Real 13-Dec-08 16:31
professional Xmen Real 13-Dec-08 16:31 
AnswerRe: Need to 'hire' a programmer for a very small program. 75 % complete already Pin
Mycroft Holmes13-Dec-08 20:29
professionalMycroft Holmes13-Dec-08 20:29 
GeneralRe: Need to 'hire' a programmer for a very small program. 75 % complete already Pin
Pete O'Hanlon14-Dec-08 8:29
mvePete O'Hanlon14-Dec-08 8:29 
QuestionProfile.FullName Issue Pin
laziale13-Dec-08 7:05
laziale13-Dec-08 7:05 
AnswerRe: Profile.FullName Issue Pin
Lev Danielyan13-Dec-08 8:43
Lev Danielyan13-Dec-08 8:43 
QuestionHow can a 32-bit process gain access to the 64-bit values under HKLM\SOFTWARE? [modified] Pin
dandy7213-Dec-08 5:39
dandy7213-Dec-08 5:39 
Hi all,

I have a 32-bit process that presents the user a dialog box similar to Regedit. On 64-bit OSes, because of registry redirection, when I attempt to read something under HKLM\SOFTWARE, the OS transparently provides my app with the data that appears under HKLM\SOFTWARE\Wow6432Node. That's great and all...

However, since my app is 32-bit, any data that has been written to HKLM\SOFTWARE by a 64-bit app is not visible to me.

Whether I set the path to read as HKLM\SOFTWARE or HKLM\SOFTWARE\Wow6432Node yields the same results--I'm only seeing the values that appear under HKLM\SOFTWARE\Wow6432Node.

My app has the ability to connect to the registry across the network--if I'm on a 32-bit OS and remotely access the registry of a 64-bit machine, then I'm seeing both branches just as Regedit would show them (since registry redirection does not work across machine boundaries, I'm getting the "raw view").

Compiling my app as 64-bit (or AnyCPU) is not an option right now, because my app also relies on third-party components that are only available as 32-bit.

So...how can a 32-bit app, running on a 64-bit OS, access the data under the "real" HKLM\SOFTWARE? Read-only would be fine--I just need the data to be visible...

PS - I'm aware of the KEY_WOW64_64KEY and KEY_WOW64_32KEY flags...however, I'm not seeing any provisions in .NET's registry classes to specify them...do I really have to rewrite my existing code to use P/Invoke??

modified on Saturday, December 13, 2008 11:59 AM

AnswerRe: How can a 32-bit process gain access to the 64-bit values under HKLM\SOFTWARE? Pin
Richard Andrew x6413-Dec-08 10:45
professionalRichard Andrew x6413-Dec-08 10:45 
AnswerRe: How can a 32-bit process gain access to the 64-bit values under HKLM\SOFTWARE? Pin
Richard Andrew x6413-Dec-08 10:46
professionalRichard Andrew x6413-Dec-08 10:46 
GeneralRe: How can a 32-bit process gain access to the 64-bit values under HKLM\SOFTWARE? Pin
dandy7214-Dec-08 7:10
dandy7214-Dec-08 7:10 
Questioncascade-style distribution of files over a LAN Pin
Bartosz Bien13-Dec-08 5:04
Bartosz Bien13-Dec-08 5:04 
AnswerRe: cascade-style distribution of files over a LAN Pin
Dave Kreskowiak13-Dec-08 5:44
mveDave Kreskowiak13-Dec-08 5:44 
QuestionPrevent empty cells in datagridview Pin
Yustme13-Dec-08 5:02
Yustme13-Dec-08 5:02 
AnswerRe: Prevent empty cells in datagridview Pin
Christian Graus13-Dec-08 10:43
protectorChristian Graus13-Dec-08 10:43 
QuestionHow to return value from a thread Pin
anveshvm13-Dec-08 4:00
anveshvm13-Dec-08 4:00 
GeneralRe: How to return value from a thread Pin
Luc Pattyn13-Dec-08 4:42
sitebuilderLuc Pattyn13-Dec-08 4:42 
AnswerRe: How to return value from a thread Pin
User 433002813-Dec-08 16:10
User 433002813-Dec-08 16:10 
Questioninstalling application only once at one client Pin
praveenvkumarv13-Dec-08 2:45
praveenvkumarv13-Dec-08 2:45 
AnswerRe: installing application only once at one client Pin
Dave Kreskowiak13-Dec-08 5:41
mveDave Kreskowiak13-Dec-08 5:41 
QuestionDll LibMain Function? Pin
OptiPlex13-Dec-08 1:26
OptiPlex13-Dec-08 1:26 
AnswerRe: Dll LibMain Function? Pin
User 665813-Dec-08 2:19
User 665813-Dec-08 2:19 
GeneralRe: Dll LibMain Function? Pin
OptiPlex13-Dec-08 2:56
OptiPlex13-Dec-08 2:56 
GeneralRe: Dll LibMain Function? Pin
User 665813-Dec-08 3:11
User 665813-Dec-08 3:11 
QuestionRe: Dll LibMain Function? Pin
OptiPlex13-Dec-08 3:37
OptiPlex13-Dec-08 3:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.