Simon Mourier's Avatar
Simon Mourier's blog (1807 answers on StackOverflow) about Microsoft technologies C#, C/C++, .NET, WinRT, WinUI3, AOT, P/Invoke, COM, Interop, DirectX, Direct2D, Windows, ...
  • 🔎︎ Search
  • Categories
  • Archives
  • About Me
  • c/c++
  • internationalization
  • winapi

How can I load a string based on resource identifier?

Feb 6, 2019 See the question and my original answer on StackOverflow

This kind of string is called an "indirect string". The easiest way to get one is to call the SHLoadIndirectString function that's meant exactly for that.

Extracts a specified text resource when given that resource in the form of an indirect string (a string that begins with the '@' symbol).

  • SmoBlog © 2010-2026 Simon Mourier. All rights reserved.
  • Privacy & Terms