Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8106041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:20:30+00:00 2026-06-06T00:20:30+00:00

I’ve got a project that has some icons, bitmaps, and strings embedded in resource

  • 0

I’ve got a project that has some icons, bitmaps, and strings embedded in resource DLLs for the purpose of MUI. These all work perfectly fine in Windows 7, but only the strings and bitmaps work in XP. I’m building the app on Windows 7 using VS2012, using Visual Studio 2010 (v100) as the actual toolset.

As MUI is not natively supported on XP I programmatically acquire a handle to the appropriate resource DLL based on steps 5.1c and 5.2 of this article on MSDN.

The result of GetLastError after I try LoadImage for my icon from my resource on XP is 1813, or ERROR_RESOURCE_TYPE_NOT_FOUND. Calling LoadImage for a bitmap or LoadString on the same resource handle works correctly, and indeed, my strings and bitmaps appear where appropriate.

Something I’ve noticed: if I try to set the icon for a shortcut by opening my application’s DLL Windows 7 has no problem, but Windows XP reports that the file contains no icons. XP has no problem loading the ico files themselves if I copy them over, so I don’t think they’re in a bad format, unless the resource compiler is mangling them in some way. If I look at the icon in the resource editor it appears as a 16×16 32-bit BMP file, as it should.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T00:20:32+00:00Added an answer on June 6, 2026 at 12:20 am

    My problem was caused by VS2012 somehow. I’m not sure what the difference is between building resource DLLs in VS2010 with VS2010 tools and building them in VS2012 with VS2010 tools, but there is one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I need a function that will clean a strings' special characters. I do NOT
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.