Questions tagged [resource-files]

Resource files are those files that are used to instruct the compiler/linker toolchain on which resources (icons, dialogs, etc.) are to be embedded in the binary being built.

267 questions
5
votes
1 answer

Resharper localize complex strings

How can I get Resharper to shove format strings into the resource file? I have a MessageBox dialog that displays dynamic information like so: MessageBox.Show( string.Format( "You have purchased '{0}' ({1}). Currently, the value of {0}…
Jeremy Holovacs
  • 22,480
  • 33
  • 117
  • 254
5
votes
5 answers

C Undefined reference

I got some problem with the following codes particularly in header.c where i can't access the extern int x variable in header.h... Why? Does extern variable in .h not global? How can i use this on other files? ===header.h=== #ifndef HDR_H #define…
Analyn
  • 89
  • 2
  • 9
5
votes
3 answers

How do you embed resource files in C?

The only way I know how to do this is to convert the file into a C source file with a single byte/char array containing the contents of the resource file in hex. Is there a better or easier way to do this?
theanine
  • 986
  • 3
  • 10
  • 21
4
votes
0 answers

Can I build an android apk without "gradle" on command line?

Is it possible to create an apk without gradle via command line? My application consists of both kotlin and C++ code. Currently I used separate compilers for both kotlin and c++ code and compile them. Now I also got a requirement of many resource…
Rohan Pande
  • 301
  • 1
  • 5
4
votes
1 answer

#ifdef x64 does not work for windows resource file

Recently, I have been trying to get a DLL to have a different InternalName and OriginalFilename based on what platform it is compiled as. If the DLL is set to Release|x64 it should have one name, and if set to Release|x86 it should have another. I…
4
votes
0 answers

C++ beginner: Why doesn't the compiler find my functions defined in header file?

I´m very new to C++ and so, I haven´t got any experience with HeaderFiles. I have the following files (main.cpp): #include #include "test_file.h" int main(){ std::cout << max(3,4) << std::endl; return 0; } It´s a simple…
MeineHTMLCodes
  • 509
  • 5
  • 19
4
votes
2 answers

Search for a string in a collection of dlls

We have a number of dlls in a single directory. Most, but not all, are C++ resource dlls only. These dlls can be opened in Visual Studio for a "visual" inspection (you can see the "String Table"). Here's the scenario, we are looking for a particular…
Ian
  • 5,625
  • 11
  • 57
  • 93
4
votes
1 answer

Robot Framework - Using Resource Files

I have a test file which checks for the presence of all key elements on every page of the app (one Scenario per page). However, the app is fairly complex and has different types of users (admin, regular, etc.) and I want to be able to go through the…
Liviu P
  • 93
  • 1
  • 1
  • 6
4
votes
1 answer

.NET Localization Project Structure subfolders for each language

I have created a new C# class library project which will contain the resource files for all translations. The examples I have seen have a flat structure with one giant resource file for each language like…
row1
  • 5,568
  • 3
  • 46
  • 72
4
votes
0 answers

Customer altered, multilingual (multiple) resource files

I have a set of standard (en-GB) resource files. I have translated versions of these files for each language I will implement (French, Japanese). These are "generic" and all customers will receive them. Some customers want to override certain…
Beakie
  • 1,948
  • 3
  • 20
  • 46
4
votes
3 answers

MFC Menu won't propagate into application

I'm working on making slight changes to a legacy VS 2008 & MFC project, including changes to the WinAPI/MFC *.rc resource file. I have made those changes, e.g., changing a menu string (for IDR_MAINFRAME, if it matters) from "New Scan" to "New…
Jan Benes
  • 532
  • 1
  • 5
  • 16
4
votes
1 answer

Visual studio adds deleted resource string to usercontrol

I have problem with my vs2010. I have a large project with a lot of localized user controls. My problem is that if I have removed a string from my resource file (I have a resource file that hold a lot of strings and images), then sometimes when I…
4
votes
0 answers

How to get resource file comment from ResourceSet?

Possible Duplicate: How to get the comment from a .resx file entry I loop through resource file using: _cityResources = Cities.ResourceManager.GetResourceSet( CultureInfo.CurrentUICulture, true, …
foteliasz
  • 41
  • 1
  • 3
3
votes
1 answer

1 Resource File vs Many

I have a site that I am manually adding Spanish and Portuguese support to via resource files and GetGlobalResourceObject() in my pages. I have several types of users that have essentially their own sections of the site. I currently only have one big…
ToddBFisher
  • 11,370
  • 8
  • 38
  • 54
3
votes
1 answer

Multi-Language windows form

I am developing windows application which supports two language Arabic and English. I want to change the UI (Labels) of the forms at run time. Which ever language selected by user initially forms should be displayed in that language. For this I have…
yalinhahs
  • 121
  • 6
1 2
3
17 18