Questions tagged [resources]

0 votes
0 replies
Eclipse packages switch to folder cannot load images
In Eclipse I am creating a Top Down Shooter (TDS) for a school project. The project, so far, is going really well but I ran into a problem. Whene...
asked 1 month ago
0 votes
0 replies
How to create a RandomAccessStreamReference to access a resource defined in a .rc file?
Working in "traditional" C++, I would like to embed a ONNX file (for usage with WinML) into a DLL as a resource, adding it to the .rc file: IDR_N...
asked 1 month ago
0 votes
1 replies
Java how to access image as resource in DEV environment
My question seems to be a general problem but actually it is not. We have a DEV environment, in which we have the FrontEnd running that is comm...
asked 1 month ago
0 votes
0 replies
How should I load a resource from a res folder containing other folders? [duplicate]
I would like to read a resource from within my jar like so: File file; file = new File(getClass().getResource("/file.txt").toURI()); BufferredRe...
asked 1 month ago
0 votes
2 replies
Servlet web resources from library jar (Jetty)
I'm aware of similar questions here and here. And yet IMHO the issue is not yet fully covered, or at least it's still not working smoothly for me...
asked 1 month ago
0 votes
2 replies
How to properly call the vulkan.hpp constructor for command buffers?
I have been changing some vulkan code to use the vulkan.hpp structures and methods. Since I like RAIIs, I am using the Unique wrappers, to not h...
asked 2 months ago
0 votes
0 replies
Random Spikes in Physical memory usage, IO usage, entry processes, processes, all maxing out and causing faults
I have a website with around 1000 daily users, am using Godaddy Ultimate Shared hosting (2 Shared CPU, Up to 1GB Shared RAM, IO 1024.0 KB/s limit...
asked 2 months ago
0 votes
1 replies
After spring security implementation it's blocking all resources in my static folder?
I am using spring boot '2.1.4.RELEASE'. After the implementation of spring security, it's blocking all my resources in the static folder. Here i...
0 votes
0 replies
How to preserve the leading or trailing space in a .restext resource entry?
Is there a way to make resgen.exe preserve the leading or trailing spaces in a C# .restext resource file entry? For example: PerMonth= / month...
asked 2 months ago
4 votes
2 replies
Is there a correct way to close resources opened in java stream api (for each element)?
Is there a correct way to open a resource for each element in collection, than use stream api, do some map(), filter(), peek() etc. using the res...
1 votes
1 replies
Laravel resources when called in usersController gives me a different path and an error
I am a week old into laravel and am working on my first api. Everything worked well till I decided to introduce resources. When I call the UserRe...
asked 2 months ago
1 votes
1 replies
Laravel resources when called in usersController gives me a different path and an error
I am a week old into laravel and am working on my first api. Everything worked well till I decided to introduce resources. When I call the UserRe...
asked 2 months ago
0 votes
2 replies
How can I refresh the Unity resources folder during runtime in order to pull the latest files (Without AssetDatabase.Refresh())?
I am creating a game in Unity for Android and I am capturing screenshots during runtime and displaying them at a later point in the same scene. H...
asked 3 months ago
0 votes
0 replies
Cursor resource not loading properly except built in VS cursors
When I set cursor for my window using built in cursors types such as IDC_HAND or IDC_ARROW it works fine ex: SetCursor(LoadCursor(NULL, MAKEINTR...
asked 3 months ago
0 votes
2 replies
Changing cursor to custom cursor image as a resource
I've been trying to get my cursor to be a custom cursor from a .cur file located in a folder in my project as a Resource. Here's my solution layo...
asked 2 months ago
1 votes
1 replies
Resources.load with a scriptable object
I have a Scriptable Object in Unity that contains a lot a datas (integers and string) I would like to save data in this scriptable : https://im...
asked 2 months ago
0 votes
1 replies
Background service/worker don't garbage collect
I need to have an IHostedService, or "Worker Service", but I've come across an interesting conundrum, and that is that the Garbage Collector don'...
0 votes
0 replies
Access to war META-INF/pom.xml from Jar common-lib
I am trying to access to a war file war/META-INF/maven/com...../application/pom.xml from a common jar lib will be embedded in WEB-INF/lib of the...
asked 2 months ago
0 votes
0 replies
Resolve files in maven dependency relatively to it's location
I have maven project A and it use some files located under src/main/resources. When I import project A to project B and execute functionality tha...
asked 2 months ago
0 votes
1 replies
Duplicate N-times Sling resouce
I have a sling JCR resource tree, there is resource folder named test and file named testFile inside. testFile have own structure(subnodes/files)...
asked 3 months ago
0 votes
2 replies
Android Studio how to generate id for resources
Working on a testing app, I would like to play a random mp3 soundtrack when the user clicks on a button. So far, I am able to make the soundtrac...
asked 2 months ago
0 votes
0 replies
Image not showing from sub library onless explicitly loaded
I've created a library with xaml views that I want to address in other tools. This library accesses an other library that contains an image. Unfo...
asked 2 months ago
0 votes
1 replies
MVC Access Resource image
I want to access and return a resource image from a DLL /connected project. (Its a file, with build action of Resource). It is not listed in pro...
0 votes
0 replies
get an uploaded application image resource from within server script as blob
I have uploaded image resources via App Settings > Resources. How can I get the blobs within server script? I've tried UrlFetchApp.fetch("<...
asked 3 months ago
0 votes
0 replies
Too many webgl using iframe
WARNING: Too many active WebGL contexts. Oldest context will be lost. Hi, I am trying to show some 3D models on a WordPress site and using three...
asked 2 months ago