Click here to Skip to main content
15,904,500 members
Home / Discussions / C#
   

C#

 
AnswerRe: show string Property of a custom class in DGV Pin
Tony Pottier13-Dec-08 17:24
Tony Pottier13-Dec-08 17:24 
GeneralRe: show string Property of a custom class in DGV Pin
Xmen Real 13-Dec-08 19:30
professional Xmen Real 13-Dec-08 19:30 
GeneralRe: show string Property of a custom class in DGV [modified] Pin
Xmen Real 13-Dec-08 19:52
professional Xmen Real 13-Dec-08 19:52 
QuestionAvoid #Error Label on reportviewer while getting null value Pin
vbexpert113-Dec-08 9:13
vbexpert113-Dec-08 9:13 
AnswerRe: Avoid #Error Label on reportviewer while getting null value Pin
Christian Graus13-Dec-08 11:05
protectorChristian Graus13-Dec-08 11:05 
AnswerRe: Avoid #Error Label on reportviewer while getting null value Pin
Mycroft Holmes13-Dec-08 20:22
professionalMycroft Holmes13-Dec-08 20:22 
GeneralRe: Avoid #Error Label on reportviewer while getting null value Pin
vbexpert113-Dec-08 20:35
vbexpert113-Dec-08 20:35 
GeneralRe: Avoid #Error Label on reportviewer while getting null value Pin
Mycroft Holmes13-Dec-08 20:55
professionalMycroft Holmes13-Dec-08 20:55 
GeneralRe: Avoid #Error Label on reportviewer while getting null value Pin
vbexpert113-Dec-08 22:05
vbexpert113-Dec-08 22:05 
QuestionxUnit 1.1 Pin
Jammer13-Dec-08 8:51
Jammer13-Dec-08 8:51 
AnswerRe: xUnit 1.1 Pin
Pete O'Hanlon14-Dec-08 10:32
mvePete O'Hanlon14-Dec-08 10:32 
QuestionNeed to 'hire' a programmer for a very small program. 75 % complete already Pin
Nomadico13-Dec-08 7:34
Nomadico13-Dec-08 7:34 
AnswerRe: Need to 'hire' a programmer for a very small program. 75 % complete already Pin
Expert Coming13-Dec-08 7:58
Expert Coming13-Dec-08 7:58 
AnswerRe: Need to 'hire' a programmer for a very small program. 75 % complete already Pin
Christian Graus13-Dec-08 10:18
protectorChristian Graus13-Dec-08 10:18 
AnswerRe: Need to 'hire' a programmer for a very small program. 75 % complete already Pin
Colin Angus Mackay13-Dec-08 11:10
Colin Angus Mackay13-Dec-08 11:10 
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 

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.