Direct Data Exchange (DDE)

Overview

A DDE server which offers you the possibility for remote starting of DAC commands has been built into DAC. This means that it is now possible to open projects and files, build databases, and carry out many other DAC functions via DDE clients, one of which is DACEdit, delivered with DAC.

If command that shows dialog with results of analysis is executed through DDE, messages will be saved in file with default name (for example "Static Code Analysis.txt") and that dialog will not be shown. This is useful when DAC is started from makefile or batch file.

Commands Supported by DDE Server

- User-Defined Actions macros assigned in the same format as an individual line in User-Defined Actions. These commands are marked with (*) in "Appendix C - User-Defined Actions Macros".

- User-Defined Actions commands as they appear on the Start menu (eg. "My Action") or <MyAction> or "Start::UDA Script Name" or <Start::UDAScriptName> (e.g. Start::MyAction).

- Menu commands in "Menu::Command" format, see list bellow.

- Editor macros in the format in which they are assigned in Editor Macro Language files. Both primitive and user-defined macros belong in this category.

You can send multiple commands of any type simultaneously if separated by a semicolon.

Currently supported Menu Commands: 

File::New 
File::Open 
File::Close 
File::Save 
File::SaveAs (compatibility)
File::SaveAsEditor
File::SaveAsBrowser
File::SaveAsMessage
File::SaveAllEditorFiles 
File::SaveAllBrowserReports 
File::SaveAllSoftwareMetricReports
File::SaveAllMessageLogs 
File::Format 
File::PageAndPrintingSetup 
File::PrintPreview 
File::Print 
File::Exit 
Edit::Undo 
Edit::Cut 
Edit::Copy 
Edit::Paste 
Edit::Delete 
Edit::Append 
Edit::SelectAll 
Edit::Hide 
Edit::Unhide 
Edit::HideActualUnanalyzedBlock
Edit::HideAllUnanalyzedBlocks 
Edit::UnhideActualUnanalyzedBlock
Edit::UnhideAllUnanalyzedBlocks 
Edit::Format 
Edit::Indent 
Edit::Unindent 
Edit::ShowWhitespaceCharacters
Edit::HideWhitespaceCharacters
Edit::Upper 
Edit::Lower 
Edit::Toggle
Edit::If
Edit::Else
Edit::While
Edit::DoWhile
Edit::For
Edit::Switch
Edit::Case
View::FlowChart 
View::StructureHighlighting 
Search::Find 
Search::Replace 
Search::Next 
Search::Previous 
Search::FindAll 
Search::ReplaceAll 
Search::NextMessage 
Search::PreviousMessage 
Search::OlderSourcePos 
Search::NewerSourcePos 
Search::GotoLine 
Search::MatchBracket 
Search::MarkN N€{0-9}
Browse::Definition 
Browse::Declarations 
Browse::Uses 
Browse::Assignments 
Browse::CallsTo 
Browse::CallsWithin 
Browse::UsesWithin 
Browse::GlobalFunctions 
Browse::GlobalVariables
Browse::GlobalConstants 
Browse::GlobalTypes 
Browse::Macros 
Graph::FunctionGraph 
Graph::TypeGraph 
Graph::GraphOfRootFunctions 
Graph::UseView 
Metrics::Apply 
Start::UpdateDatabase 
Start::BuildDatabase 
Start::FastModuleAnalysis 
Start::CheckSymbolNames 
Start::GenerateMakefile
Window::CloseAllEditorWindows
Window::CloseAllBrowserWindows
Window::CloseAllMessageTabs
Window::CloseAllWindowsAndTabs


Copyright 1993-2017, RistanCASE GmbH