Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
19 views

Uart Dma using TMS570LS1224 Development Board [closed]

can anyone help me with this task I am using tms570ls1224 development board Configure a DMA (Direct Memory Access) controller to autonomously transfer an array of 8-bit characters (chars) from the ...
Aditya Gupta's user avatar
0 votes
1 answer
26 views

How to assign an integer value to a Macro in trace32 cmm script?

I have written one file1.cmm file, in this file many &BITPOS=21 is present. For example, &BITPOS=21 &BITPOS=22 &BITPOS=23 and so on present in file1.cmm I debugged this issue and found ...
Priyajit Ghosh's user avatar
0 votes
0 answers
36 views

Store translations in DLL instead of RESX file in a C# .NET8 Forms application

I'm currently developing a C# .NET8 WinForms application that should be multilanguage as it will be deployed in multiple countries in Europe. I've installed MAT (Multilanguage App Toolkit) Extension ...
Simon's user avatar
  • 155
1 vote
1 answer
59 views

Adding an embedded font to a datagridview

I want to put a custom font to a datagridview but it is not applied, it only applies to other elements such as labels. I originally tried this and it worked as expected. fontCollection.AddFontFile(&...
jhu unhn hefhd's user avatar
0 votes
1 answer
41 views

Use resource file from Gradle plugin

I'm currently developing a small shared plugin for few projects and the cleanest solution would be if I could read and process a resource file provided by the plugin. However, Java/Kotlin style this....
Wolfer's user avatar
  • 560
0 votes
1 answer
104 views

An error when reading resources in release mode

My program contains two text files with some data as resources in visual C++. They can be load and read as follows. const char* resQ = NULL, *resA = NULL; GetTextResource(IDR_TEXT2, resQ); ...
Alex Krebs's user avatar
0 votes
0 answers
58 views

Embed font-files .ttf into an already existing Pdf in Java

I need to embed a .ttf-File into an existing Pdf in Java. Now I would prefer both Pdfbox and openpdf, but I am open to any suggestion. The Java-webservice is to open the Pdf, then insert the .ttf ...
Schlomo Dumbo's user avatar
0 votes
0 answers
23 views

Learning how to implement secure boot on an embedded system

I would like to learn how to implement secure boot on a device. I have a raspberry pi 2, and 3. I can get any board if it is required. I have been working with embedded systems and embedded linux. ...
Payam30's user avatar
  • 719
0 votes
1 answer
15 views

Download Parallel Embedded Resource In Blazemeter

Not getting any option to download parallel embedded resource in blazemeter. I am trying to do performance test and running my test in blazmeter for single uer and single iteration. The test required ...
Anushka Gupta's user avatar
0 votes
0 answers
22 views

EmbeddedResource does not update when ResXFileRef file changes

We have a embedded resource: <EmbeddedResource Update="Resources\ResourceFile.resx"> <Generator>ResXFileCodeGenerator</Generator> <LastGenOutput>...
Rob Janssen's user avatar
0 votes
0 answers
215 views

FIREFOX: INSTAGRAM embed url on Object not working

I am getting https embed links from the api to showcase inside the Object element. In Chrome it works just fine. For Firefox, the iframe doesn't load. It's blank. I've checked the console and network ...
Wardhan's user avatar
  • 66
-2 votes
1 answer
160 views

Embedding an exe file into the application in C++

It maybe seems like a stupid question, but I couldn't find anything on the internet. I can't figure out how to embed an executable into the program. The goal is to only have one executable file after ...
Holzhax's user avatar
0 votes
1 answer
132 views

Cannot compile RC file from Delphi (Error RC1107: invalid usage use RC /? for Help)

I created an empty project and added an RC file to the project via the Project Manager. This will add the following line in my DPR file: {$R 'VersionInfo.res' 'VersionInfo.rc'} The project compiles, ...
IceCold's user avatar
  • 20.9k
0 votes
0 answers
22 views

DotVVM 4.2: Sharing MasterPage Between Projects Leads to 'File Not Found' Exception

I'm attempting to share a MasterPage between multiple DotVVM projects (version 4.2). However, I encounter the following exception: DotVVM.Framework.Compilation.DotvvmCompilationException: File 'Demo....
Nick GV's user avatar
0 votes
1 answer
71 views

Cannot find path specified when trying to add existing embedded resource in Visual Studio 2022

I have a C# Solution in Visual studio where one of the projects is the UI version of the software and the other project is the commandline version. Both versions require some xml definitions. I've ...
tzg's user avatar
  • 656
1 vote
1 answer
291 views

Add icon on a Golang program using webview/webview_go

I've been trying to add an icon to an executable generated by go build. Internally, this executable uses webview/webview_go. I've used windres to generate the .syso file from the following .rc file #...
Noah's user avatar
  • 800
2 votes
1 answer
308 views

How to access dfm resource at runtime (Delphi 11, 12)

How can a DFM resource of a form in a Delphi project be accessed in code at runtime? Background: I want to be able to parse a form's DFM at runtime to create HTML and other representations of it on ...
MichaSchumann's user avatar
0 votes
0 answers
49 views

Microsoft Visual Studio 2022 C# Programmatically Change or Evaluate a resource file Build Action value

Using C#, is it possible to Programmatically Change or Evaluate a resource file Build Action value? In regards to evaluation, I mean, is there there a way to programmatically find out the Build Action ...
crazyTech's user avatar
  • 1,449
2 votes
1 answer
128 views

Data pointer from LockResource() is not the expected VS_VERSION_INFO structure

I want to load the binary data of a VERSION resource from an external EXE file. This should be fairly simple: var hFile: HMODULE; // File=image to load hR: HRSRC; // Resource handle hG: ...
AmigoJack's user avatar
  • 5,846
2 votes
1 answer
402 views

Why does Linux fail to map this PT_LOAD ELF segment?

I'm trying to embed arbitrary data into an ELF executable and have Linux map it in automatically at load time. Recently asked another question about this which culminated in support for this use case ...
Matheus Moreira's user avatar
2 votes
1 answer
311 views

How to read data embedded into the program's own ELF?

The objcopy tool makes it easy to embed arbitrary files into an ELF executable: objcopy --add-section program.file1=file1.dat \ --add-section program.file2=file2.dat \ program program+...
Matheus Moreira's user avatar
1 vote
1 answer
112 views

Is this code from STM32 FATFS User manual (um1721 ) correct?

I am going through a codebase, that uses the FatFS library by Chan and probably developed using the CubeMX code generator. I can see the code given below there. It is also described in STM32 user ...
Monem Ahmed's user avatar
2 votes
2 answers
179 views

Should interrupts be disabled while communicating with external SPI flash?

I am using an external SPI flash with my STM32 MCU. I am wondering Can the following scenario lead to data corruption in flash or in the read buffer? If an ISR triggers at the same time, while the ...
Monem Ahmed's user avatar
1 vote
1 answer
132 views

MauiFont not imported in net7.0-windows10.0.19041.0 project

A .ttf file that is designated MauiFont resource seems to import automatically for an iOS or Android project. What would it take to import home.ttf manually in order to make Windows recognize the font?...
IV.'s user avatar
  • 7,800
0 votes
0 answers
14 views

Copy Resource File to Directory - VSTO - VB.NET

I want to copy a Bitmap file from the Resources in my VSTO Excel Add-in project to a directory on the end user's hard drive. I want to copy the MyResourceBitmapFile Bitmap file to the "C:\...
Jim Denny's user avatar
0 votes
1 answer
148 views

VC linker error - CVT1100 duplicate resource. type:MESSAGETABLE

I have been given a very old project with a series of DLLs and drivers which has not been built since 2012. I'm trying to bring it back to life but as a driver guy I'm really struggling with some of ...
Jeff's user avatar
  • 525
0 votes
2 answers
182 views

C# .NET6 referencing embedded .ico file fails in debugging in VS [duplicate]

I have a valid multi-size .ico image file in the Resource directory of my VS C# .NET6 WPF project. This resource file is marked as Embedded resource to be included in the binary. I try to explicitly ...
Alex's user avatar
  • 717
0 votes
1 answer
157 views

Blink LED on segger embedded studio

How can I blink 2 Leds at the same time i.e. one at 500ms and the other at 1sec exact time on nrf52840 using Seger embedded as ide. I tried to delay it using the inbuilt delay function but it just ...
test email's user avatar
0 votes
1 answer
231 views

Identifier * has already been declared, script is an external script

I am in the process of creating an embed for instagram posts. However when using the script: https://www.instagram.com/embed.js I get the following errors in the browser: Localhost Environment: ...
Keval.P21's user avatar
3 votes
1 answer
1k views

How do I generate .Designer.cs files from resx files as part of dotnet build

.Designer.cs files are generated automatically by Visual Studio or Rider (and probably other IDEs), but it is not a part of build process. I want to generate these files as a part of build process ...
aksu's user avatar
  • 1,817
0 votes
0 answers
53 views

Why is my C# application searching for Resource.dll's?

I have a C# application (using the legacy .NET framework, not the new .NET Core). It handles the AppDomain.CurrentDomain.AssemblyResolve event. When I debugged the application, I saw that the event ...
Sabuncu's user avatar
  • 5,236
0 votes
0 answers
72 views

C# Locally stored leaderboard on embedded text file

I am trying to store a leaderboard locally for the game I am working on. To do this, I have added a text file to the resource folder inside my program. I am attempting to write to and read from this ...
thedrooster's user avatar
0 votes
0 answers
167 views

Why is the first PlaySound call from memory delayed a lot in WinAPI?

I am trying to play a WAV resource with low latency. If I load my audio into memory and then call PlaySound with SND_MEMORY, then there should be almost no delay, however, there is a huge delay of ...
YJiqdAdwTifMxGR's user avatar
1 vote
1 answer
701 views

Referencing embedded resources in WebView2

I'm building an application and want to use HTML, CSS, & JS files as embedded resources but still load/reference them in a WebView2 component. Is there any good (and efficient) way to do this? I'...
kgsensei's user avatar
0 votes
1 answer
234 views

golang embed how to add a folder with pictures?

I have a code in which I directly specify the path to the folder via EMBED, but I know that you can somehow point to the folder and then just write the file name, but I don't know how to do it ...
Skaz's user avatar
  • 43
0 votes
0 answers
224 views

packing image resource into nuget library and accessing it [duplicate]

I have a nuget package which contains some logos which should be accessible. The logos are located in the Resources Folder: [![enter image description here][1]][1] The logos are set up as embedded ...
julian bechtold's user avatar
1 vote
2 answers
605 views

How to hide an embedded resource file from being shown in dotPeek or any other decompiler

I have a file with a password that I need to somehow hide. Is there a way to hide an embedded resource from a decompiler? If there isn't, what is the best practice to hide files from being decompiled? ...
Alex Kovaliv's user avatar
0 votes
1 answer
585 views

Sharing Resources Between MAUI and WPF

I have been writing C#/WPF applications for years, but have started to experiment with some apps using MAUI. Over time, I have gathered icons and other visual resources in to a class library which has ...
AJ.'s user avatar
  • 1,661
0 votes
1 answer
290 views

Changing ImageData using Open XML SDK

I use Open XML SDK to manipulate OOXML spreadsheets. I need to change the data in a VmlDrawingsPart, specifically the ImageData. ImageData have an o:relid property which is the reference to the image/...
Asbjoedt's user avatar
0 votes
2 answers
868 views

How to load images from resources with GetManifestResourceStream?

How to load images from Resources, please? Some of my images are located inside a folder. My image is saved as Resource (cf. Build Action). I don't use a .resx file. I'm able to retrieve the list of ...
PeterMacGonagan's user avatar
0 votes
1 answer
47 views

Is there a possibility to have embeded config only for specific configuration in .NET desktop application?

a desktop application (WPF, .NET 4.6.2) has lots of settings in app.config. The settings have different values for specific configurations: App.Debug.config and App.Release.config. QA engineers are ...
Oblomingo's user avatar
  • 698
2 votes
0 answers
544 views

How to fix RuntimeException: Unable to start activity ComponentInfo due to Resources$NotFoundException: used for activityTheme on Android 11+ devices

We are getting a crash occurring only on Android 11 and lower devices. stack trace - Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{..SplashActivity}: android....
Vikas Pandey's user avatar
  • 1,195
1 vote
1 answer
47 views

Link in resources

Looks like there are tons of webpages online and questions on SO, but I still can't get this to work after several hours of searching. I'm cross-compiling from Linux to Windows by setting CC/CXX to ...
pid's user avatar
  • 11.5k
0 votes
0 answers
15 views

Replacing English sentences in program dialogues with Bulgarian translations results in text truncation

I have a very old program (written in the time of Windows XP in C++, I trust). I need to translate certain dialogues of the program from English to Bulgarian. In principle, this can be done via ...
S. N.'s user avatar
  • 127
1 vote
2 answers
333 views

Embedding Image as new ImagePart creates a .bin file using Open XML SDK

I am developing code using a spreadsheet input file, a MemoryStream, Open XML SDK and ImageMagick to: Read stream of an embedded image file in a spreadsheet Convert stream to TIFF file format Embed ...
Asbjoedt's user avatar
5 votes
1 answer
6k views

.Net Maui List Assets Under Resources Raw Folder

The Context. I'm working on .net Maui mobile app that uses some native android libraries with dependencies on bunch of configuration files provided by vendor. These files should be placed into data ...
kudoku's user avatar
  • 309
0 votes
1 answer
198 views

Display image from embedded resource

I need to display our app logo on the main page of the application but no matter what I do, nothing shows up. <Image Source="{StaticResource 'MystronicsWinder.Resources.AppIcon....
Mahyar Shokraeian's user avatar
0 votes
1 answer
405 views

Add a PDF into a word document using docxtemplater

Is there any possible way to add an existing PDF-File into a word document using docxtemplater (e.g. in connection with survey.JS) Manually you can do this within Word by selecting > Insert > ...
Berlinthomas's user avatar
-1 votes
1 answer
28 views

Why isn't there a method to tell the compiler to directly read the content of an embedded resource as a executive script?

From this comment: the resource manager is intended to be used for storing resources (such as images, strings, or other data) that are embedded in your application, not for running external programs ...
Ooker's user avatar
  • 2,698
1 vote
1 answer
556 views

Why does Helmet block access to YouTube videos in my Express app, which uses embedded YouTube player?

I have written an Express app, where users can post YouTube videos. YouTube videos are embedded with iframe elements in the relevant view, with YouTube embedded player. Before I tried to deploy the ...
Alex73's user avatar
  • 11

1
2 3 4 5
39