473,808 Members | 2,792 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

RegLoadMUIStrin g Vista P-Invoke

Hello,
I'm trying to get an MUI string out of the registry in display friendly
format. From what I've read, strings in the following format:
“@[path]\dllname,-strID” are MUI strings and receive special handling via
the RegLoadMUIStrin g API call.

This is what I have come up with for the call:
[DllImport("adva pi32.dll")]
internal static extern long RegLoadMUIStrin g(IntPtr hKey, string pszValue,
StringBuilder pszOutBuf, int cbOutBuf, out int pcbData, uint Flags, string
pszDirectory);

I'm calling this function with a valid pointer to an open registry key,
passing in the appropriate value key (pszValue) which has the MUI formatted
string. When I check the output buffer (pszOutBuf) it's always an empty
string.

Has anyone been able to get this call to work? I cannot find any examples
on the web.

thanks,
-bp

Oct 9 '06
10 2466
No offence taken, I understand, anyway I would suggest you post Vista issues
to the Vista forums, for instance SDK related issues can be posted to
http://forums.microsoft.com/MSDN/Sho...D=121&SiteID=1, and I
would also suggest you to report an issue to the feedback site at :
http://connect.microsoft.com:80/feed...spx?SiteID=210

Willy.

and it's Willy ;-)

"lissbpp" <li*****@discus sions.microsoft .comwrote in message
news:7D******** *************** ***********@mic rosoft.com...
| Thanks for looking into this for me Willie and sorry about the last post.
| I've been a bit frustrated trying to figure out the problem.
|
| -bp
|
| "Willy Denoyette [MVP]" wrote:
|
| >
| "lissbpp" <li*****@discus sions.microsoft .comwrote in message
| news:8A******** *************** ***********@mic rosoft.com...
| | I'm not going to sit in here and talk best practices with you; I
simply
| want
| | to get my code working.
| |
| >
| If you did apply these best practices and searched the API description
in
| the SDK doc's for the
| signature and the meaning of the return value in you wouldn't even be
here.
| Anyway, this API isn't yet implemented on the RC1 build, don't know
about
| RC2 though.
| >
| Willy.
| >
| >
| >
| >
Oct 10 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2692
by: salad | last post by:
Due to an earlier posting I read in this newsgroup regarding Office 2007 beta, I downloaded it. After I DL'd it, I got an invitation from MS to get WinVista. I am now wondering if, since both are betas, it is best to buy a new computer? My current computer setup is a Pentium 4, 1 gig memory, 2.66 ghz, 60-80 gig disk drive. MS's requirements for a WinVista computer is A modern processor (800mz)
13
3038
by: Mark Rae | last post by:
Hi, On Friday I attended the Microsoft EVO conference in London where they talked about Vista, Office 2007 and Exchange 2007 and how they all work together beautifully, how they were all "people-ready" etc... I asked a couple of questions about Visual Studio.NET on Vista, especially on 64-bit Vista, and they became *very* nervous... To cut a long story short, Microsoft will not support ANY version of Visual
5
1623
by: guy | last post by:
http://blogs.msdn.com/ericnel/archive/2006/10/17/top-level-technologies-products-not-supported-on-windows-vista.aspx are MS really saying that they do not have a development enviropnment for Vista that will be supported and work out of the box, with no warnings or requirements to disable bits of th o/s from day one? What do we get from Vista besides yet another learning curve, hasle and different bugs to resolve? Guy
56
3647
by: Squishy | last post by:
I tried installing my VS2005 Pro on Vista Ultimate 32 bit RTM today and got errors stating that VS2005 was not compatible with Vista. Microsoft......please pull your finger out of my ass and tell me this is a joke. It must be a joke....because I also have read that VS2002 and VS2003 will not be supported on Vista. This clearly violates Microsoft's own terms of support for these products.
0
1679
by: salad | last post by:
I took the Bart down to San Francisco and joined a couple thousand other nerds to watch the Vista/Office launch. The receptionist was quite pleasant and getting the event packets a smooth process. First we watched the standord keynote session where companies that have implemented Vista extolled its virtues. Vista appears to be a nice operating system. I think the desktop action
6
4280
by: j2ee.singh | last post by:
Hi, I'm looking to buy a new laptop primarily to learn & practice .NET and C#. My Question is: Is there any requirement for .NET and C# in terms of the following Operating Systems: - Windows Vista Home Basic - Windows Vista Business
19
2258
by: =?Utf-8?B?TWlrZTk5MDA=?= | last post by:
When there is a shortcut of our app on the desctop, the app is not run until all the security in control panel of win vista is cleared. What to do to not have this problem. We do not want to tell the customers to do this. -- Mike
2
1728
by: 13Rockes | last post by:
I am in the process of writing programs using VB6 in XP Pro. However, I am thinking about starting over using VB2005 as my company is migrating to Vista. Two questions... What kinds of problems will I have installing and running my VB6 app under Vista? If I develop VB2005 apps under XP, what kinds of problems will I have
2
1996
by: David | last post by:
I purchased a Dell for development and selected Vista Business as the OS. I am mostly working on ASP.net, Visual Studio 2005/2008, and SQL 2005. I am considering a switch back to XP pro (Dell will swap the OS) due to software compatibility and file permission issues with Vista. My Observations: * Reason to choose XP
10
1819
by: nik | last post by:
Hi, I've compiled my application on my vista machine, and it won't run at all on my xp machine. In the windows error report I get Exception code; 0xe0434f4d. I searched for that exception, but didn't see anything related to my problem The xp machine does have vb6 installed on it, could that be an issue? What reasons and solutions for this problem?
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10628
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10373
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9195
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5547
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.