Solved

How To Override System Resources?

Posted on 1998-02-18
2
200 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
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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…
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.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now