Don't have an account? Register now to chat, post, use our tools, and much more.
» Cemetech Member Carves Intricate Wooden TI-83+
» HP Prime Multitouch Graphing Calculator: The Scoop
» More Details on the Casio fx-CP400 Touchscreen Calculator
» Editorial: On Choosing and Shelving Projects
There are 153 users online: 12 members, 115 guests and 26 bots.
Members: Ashbad, flyingfisch, HOMER-16, JosJuice, Link, Runer112, shundra9, Svenne.
Bots: VoilaBot (2), Spinn3r (1), Magpie Crawler (3), Googlebot (6), Googlebot (13), MSN/Bing (1).
RSS & Social Media
You must log in to view the SAX chat widget
DCS6: Associated Programs: Icon
Published by KermMartian on September 16, 2006 at 8:33:55 PM CST | Discuss this article (14)
As I tried to begin to document in the DCS6: To Do topic, one of the sections of Doors CS that I'm rewriting for DCS6 is the whole concept of associated programs, programs that can open data files. I decided that for Doors CS 6, the shell itself will handle most of the pointers and data transfer instead of relying upon the data file and main program to find the data and manipulate it. The first step was making Doors CS aware of data-only filetypes, which I suceeded in doing. For icons, I decided that data files, instead of having embedded icons, should get their icons from the main program. Therefore, some programs can now have an extended header that defines both an entry point other than $9D95 for when data is pending, filetypes that the program knows how to open, a dual icons: one for the program, and one for associated data files. In addition, I decided to pair main and data programs by a 3-byte data type identifier instead of the 8-byte ASCII name of the main program so that multiple competing programs can be made to open the same standardized filetypes. Check out the actual screenshot below that shows the working system in place. Note that the icons for both APMAIN and APTEST are inside the data structure of APMAIN; APTEST contains only a header and its 3-byte identifier with a short string for future testing use.
© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.022121 seconds.