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 6987199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:54:22+00:00 2026-05-27T18:54:22+00:00

At the moment I’m developing a windows service in C++ using the winapi and

  • 0

At the moment I’m developing a windows service in C++ using the winapi and boost. Because it’s a good style not to write strings in the source code (like “Service is started.”) and because of the aspect of internationalization I’m looking after a technique to manage the messages/captions of my application.

I found an code project article which describes the usage of the message compiler (mc.exe) in combination with resource files. But this way looks a little bit uncommon. The author wrote that the message compiler is a seldom used tool and the article is also pretty old. Because of that I would like to ask what’s a modern way managing strings in a project which only relies on the windows API and boost.

I hope somebody could give me a hint.

  • 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-05-27T18:54:23+00:00Added an answer on May 27, 2026 at 6:54 pm

    For Windows applications, I suggest good old fashioned STRINGTABLEs in resource files, and using the LoadString() API.

    Services can also make use of the above, with a notable exception. If your service needs to post messages to the Windows Event Log, then you’ll need to use the message compiler to store such messages/format strings in your application as a resource. This article (while terse) contains a summary of what needs to be done to support this.

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

Sidebar

Related Questions

At the moment I'm developing a web based application using Silverlight 3.0. For the
At the moment I'm developing using a simple editor, putty, and a VirtualBox instance
At the moment I have a windows service written in C# that waits for
At moment I want to implement picture upload without using any plug-ins. My upload
At the moment I have about 2000 trades which are priced using excel. I
At the moment I am trying to validate a form using PHP. The problem
at the moment we're using SVN (yeah, I know that's shame :)) and we're
At the moment I am using this to call the TabHost activity to change
Ignoring price for the moment, would using Unity for a 2D game be better
At the moment I am using a custom class derived from HashSet . There's

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.