| |
|
|
| |
CD Match Application Description |
|
| |
Launches any program for inserted CD - just associate program(s) to launch with your CD.
You need not anymore for the one program launching from CDs autorun.inf file: when your desire changes, - change the program(s) to launch.
For foreign CD-s (which are not in the CD Match database), CD Match can : - collect files by their extensions for the inserted (or presented) CD-s, and offer to launch from collected - just define what (video, archives, applications) to collect. - offer to open program from CDs Autorun.inf file.
So, almost all the job concerning CD playing regardless of CDs content can be done by CD Match.
It has 3 interface languages - English, Russian and French - the last two are available only for appropriate local settings.
CD Match Application is written as a 'flexible launcher' to run some application associated with the just inserted CD. Flexibility means that application (to be launched) can be freely defined (and chosen) for some CD - as for one that is already presented in the application database, so for one inserted first time into CD-ROM.
A little of history While application developing was discovered that in our case we need for autorun.inf only for CD's icon, and that in the section open =… it's better to write some empty program (which do nothing), than not write anything, because in the last case 'Windows Explorer' will be opened. For this Null.exe was written. Auto-Playing for CD can be interrupted by two ways: by recording into the Registry - to don't play CD-s at all, in this case we need in Windows restarting after this record changing; and by waiting-replying for message QueryCancelAutoPlay. But in the last case our application must has 'foreground window' during 'some time' after CD arrival, because this message is sent only to this window. So, for looking for just arrived CD, 'Application Agent' was written. And now Auto-Playing can be disabled at all or canceled in the time.
Two methods for linking CD with application(-s) are realized:
- through autorun.inf by recording: open = C:…MatchApp.exe [- ]
- by registering CD in the CD-Match's database by his CD Label and-or CD Serial Number.
At the present the second way is preferable.
Application parts At the moment CD Match contains next parts: CD Match Application (MatchApp.exe) that does all that concerns to application settings and must be called from command line selection. CD Match Agent (MatchApp Agent.exe) who works in the background mode, and can do all the job concerning CD playing. The third part - is a common dynamic link library (MACmnDll.dll) that contains common for both programs code. Additional programs and files: Null.exe, OpenThisFolder.exe, and Autorun.inf… Supplemented files - FirstUse.reg - don't load this file directly - it will be loaded for first time by CD Match itself. This file contains registry settings that are considered as common and helpful for the first time execution. - Null.exe - the program, which does nothing - for autorun.inf file's open = null.exe entry. - Autorun.inf - this is an example of writing this kind of files with open = …CD Math command line. - Some.ico - icon files that are simply included.
Application interface CD Match Application (MatchApp.exe) is implemented through multiple dialog: dialog that switches other (working) dialogs. Application agent can be as visible on the system tray as an icon, so - hidden. The first way is preferable, because in this case more information is available and we can control CD and call programs through agent's menus. |
|
| |
|
|
|
|