How to load a File.rc with different name ??
-
Hello, How can I load a file .RC in a VC project with a different name ?? I need to load another RC file (in execution time) to load all the strings of another language. Any idea ?? Thanks, Cris.
Unless you have a reason not to, you can put all of the resources in the same .RC file. Just use the
LANGUAGE
statment in the .RC file.
Five birds are sitting on a fence. Three of them decide to fly off. How many are left?
-
Unless you have a reason not to, you can put all of the resources in the same .RC file. Just use the
LANGUAGE
statment in the .RC file.
Five birds are sitting on a fence. Three of them decide to fly off. How many are left?
-
Hello, How can I load a file .RC in a VC project with a different name ?? I need to load another RC file (in execution time) to load all the strings of another language. Any idea ?? Thanks, Cris.
You don't load RC files at runtime, the RC file is just the source (just as you don't run C++ code, you run compiled code). The resource-related APIs all take module handles, which indicates which module to load from. Check out LoadModule() and the resource API docs for more. --Mike-- Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber Actual sign at the laundromat I go to: "No tinting or dying."