|
-
July 2nd, 2008, 02:27 AM
#1
Read 64-bit registry with 32-bit app
Please help.
This is classic problem: I want to read Vista ProductId in my app.
The problem is my .NET application is 32-bit and Vista is 64-bit.
I can't believe that it is impossible to do, but I couldn't so far, as
LM = Registry::LocalMachine->OpenSubKey("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\");
LMS = Convert::ToString(LM->GetValue("ProductId"));
returns NULL...
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|