Using a DDE server to open a file in DAC Editor (DAC manual 2.17.2 ).
In order to open a file in DAC by double-clicking it in Windows Explorer, you should first register the extension, that is the type of the file in question. During the DAC installation process, the .dcp extension of project files has already been registered. To register, start the Tools / Folder Options... command from the Explorer menu and then click the File Types tab.
If the extension already appears on the Registered file types: list, select it and then click Advanced; otherwise, click New. For a certain number of file types and depending on the programs installed at the time, Windows has a ready type description (e.g. "C Source File"). If you have selected New, assign the file type extension (without the preceding '.' character) in the ext dialog. You can extend the dialog with a list of pre-defined type descriptions using the << Advanced button.

Once you have assigned the extension, by clicking Advanced in the next dialog you can assign the operations you want to carry out on files of this type via the shortcut menu.

The following dialog appears if you have chosen to define particular commands by clicking New or Edit. It should be filled in in the manner shown below:

Using the Browse button, find and select the DAC.exe program in the Application used to perform action: box and surround %1 with quotation marks. The box should then say: "C:\Program Files\RistanCASE\Development Assistant for C\Program\DAC.exe" "%1". As "C:\Program Files\RistanCASE\Development Assistant for C" is the default path of the DAC installation in this example, your default path need not match it exactly; differences due to language in use and other Windows settings are possible. You can then open these files in DAC simply by double-clicking the file icon.
RistanCASE Support Team
|