Questions tagged [resource-dll]
13 questions
11
votes
1 answer
How to load text file from Resources in VC++?
I'm writing a DLL in VC++ and I need to use external text file. I have something like this right now:
ifstream file;
string line;
file.open("C:\\Users\\Me\\Desktop\\textfile.txt");
getline(file,line);
file.close();
I understand that I can…

Mariusz Pawelski
- 25,983
- 11
- 67
- 80
5
votes
0 answers
How to localize RCDATA resources with Translation Editor
I am embedding some images and texts as RCDATA resources to my executable.
My project includes special app.rc file for this purpose:
Text1 RCDATA "text1.rtf"
Image1 RCDATA "Images\image1.png"
Later I am accessing these data using…

Eugene Mala
- 1,081
- 12
- 25
4
votes
1 answer
How Do I Get The Resource DLL Code Samples In The Windows SDKs To Compile And Run?
I am currently trying to build a Resource DLL on on Windows Server 2003 and 2008. I am currently working with the Resource DLL code samples supplied with the Windows SDKs, and I can't get them to work.
On Windows Server 2008 I succeeded compiling…

Avihu Turzion
- 3,284
- 4
- 25
- 34
3
votes
8 answers
Preventing Resource DLLs from being hacked
I develop in C++/MFC and have placed all the resources in a separate DLL.
I have seen cases where the resource DLL is modified and the product is sold illegally with different name, graphics etc.
How do I prevent the resource DLL from being…

Gautam Jain
- 6,789
- 10
- 48
- 67
1
vote
0 answers
Blazor server - localization dlls (xxx.resources.dll) missing inside the output folder when run dotnet publish --configuration release
I have a blazor server application with 2 localization resource files with following names
App.no.resx and App.resx, but these were missing when do the dotnet publish with below command,
dotnet publish --configuration release
but the resource dlls…

Shanjee
- 491
- 5
- 16
1
vote
1 answer
Delphi project no longer DPI-aware via resource DLL
We have a Delphi project which is DPI-aware. We've achieved this, amongst other things, by including a manifest in the executable. This all works fine, the project scales nicely according to the DPI settings.
Recently we've begun translating our…

Martin
- 21
- 1
- 4
1
vote
1 answer
How to modyfy resource in a DLL from this DLL?
I'm writing an add-on for IE using VC++ and ATL.
It's a simple DLL and I have a text file that I use as a resource. This answer helped me in doing this.
I have a question about updating resource. MSDN describes how to do it but there is a function…

Mariusz Pawelski
- 25,983
- 11
- 67
- 80
1
vote
1 answer
Using the MFC dialog editor to add event handlers with a resource-only DLL
Originally my MFC program had one .rc file that includes resources for two languages. But, now I have two .rc files in two separate resource-only dll projects(in the same solution), and use LoadLibrary() and AfxSetResourceHandle() to select language…

David Johns
- 1,201
- 5
- 15
- 34
1
vote
2 answers
Is it better to create satellite dll's before or after programming a MFC application
I am halfway through the development of a MFC Form application and I know I will have to publish it in multiple languages. I plan on using satellite DLL's in order to achieve this goal. I am using Visual Studio 2012 by the way.
I have done some…

Frank
- 147
- 2
- 10
0
votes
1 answer
Load resource DLL with ResolveEventHandler
I have a handler to help resolve DLLs via ResolveEventHandler. But when I have this handler I get an error about resources DLL. Which I even don't see on my PC (though I have instances of this DLL for other cultures like es-ES, de-De,…

Yola
- 18,496
- 11
- 65
- 106
0
votes
1 answer
how to access files in a resource dll
I have created a resource DLL for an IE addon with Visual C++ in Visual Studio 2005, but I cannot access the files (html and icons) within the DLL. I tried with and without a resource file but I still haven't been able to access them.
the /NOENTRY…

Olivier
- 305
- 1
- 4
- 17
0
votes
1 answer
how to edit and recompile a c# resource-dll
I have been trying to edit a resource file, to add support for a new language, but here is what happens,
in some dll decompilers I can not see the resource file, (Resource Turner, PE Explorer ...)
in .Net Reflector, I see the the resource file,…

Muhammad Naderi
- 3,090
- 3
- 24
- 37
0
votes
1 answer
MFC query reading order (RTL) from loaded dll resource?
We have an old MFC app that we localized to multiple languages. We have a language menu that allows the user to select the language (restart of app is required). When an RTL language such as Arabic is selected, the main window frame, and dialogs…

jdwieber
- 37
- 1
- 6