Solved

How To Override System Resources?

Posted on 1998-02-18
2
229 Views
Last Modified: 2013-12-26
I would like to know how to override a system resource such as a icon family suite so I can customize a feature without replacing the system resource (ouch!). What I am looking to do is something similar to what I believe Kaleidascope is doing with the CDEF resources. If you have any source code examples or detailed infomration I would love to see it. I can not find any information on the subject.
0
Comment
Question by:creality
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
twall earned 400 total points
ID: 1291735
The resource manager, when asked for a resource, first looks at those it has already loaded into memory.  If not found, it then searches its list of currently open resource files (view the resource manager reference in IM for the exact details of this searching).

So to "replace" a given resource, you can
a) load it into system memory early, and lock it there (via an INIT) so that any subsequent requests for a given resource turn up the one you loaded.
b) make sure a file containing the resource is open and precedes the file containing the default resource in the RM search path.  This is more tricky.
c) if the resource is already loaded, lock it and modify it

(A) is probably what you'd want to do
0
 

Author Comment

by:creality
ID: 1291736
It is very helpfull to know about the search criteria. I will look at the information reccomended. I appreciate the information and think I can discern the rest for myself.
Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question