Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit
Public Tree Modification and Component Cloning
Public Tree Modification and Component Cloning
Once you have discovered that the code you want to modify resides in the %_WINCEROOT%Public folder, you might be tempted to modify this code in place and then build it without moving it to another folder first. However, there are a number of reasons not to modify the Public tree:
? You have to back up the Public directory and maintain separate directory versions for each of your OS design projects, such as WINCE600PUBLIC_Company1, WINCE600PUBLIC_Company2, and WINCE600PUBLIC_Backup.
? Windows Embedded CE updates, patches provided by quick fix engineering (QFE), and service packs might overwrite or be incompatible with your modifications.
? Redistributing your code is difficult and error-prone.
? Worst of all, when you change code in the Public directory tree, you have to spend up to three hours building the operating system. If you already know the CE build process so well that you can rebuild just your particular code without having to rebuild the entire Public folder, you will also already know enough to clone the components.
CAUTION
Public code modifications
Never modify the contents of the Public folder tree.
At a first glance, component cloning might seem like a lot of trouble, but it will save you development time and effort in the long run.
- Разработка приложений баз данных InterBase на Borland Delphi
- Open Source Insight and Discussion
- Introduction to Microprocessors and Microcontrollers
- Chapter 6. Traversing of tables and chains
- Chapter 8. Saving and restoring large rule-sets
- Chapter 11. Iptables targets and jumps
- Chapter 5 Installing and Configuring VirtualCenter 2.0
- Chapter 16. Commercial products based on Linux, iptables and netfilter
- Appendix A. Detailed explanations of special commands
- Appendix B. Common problems and questions
- Appendix E. Other resources and links
- Appendix I. GNU General Public License