Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

How To Override System Resources?

Posted on 1998-02-18
2
Medium Priority
?
239 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 1200 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

649 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