![]() |
Project
P050302 ODMref1.0 |
DeRun01 is the test harness for Mitigation Experiment #1. DeRun01 confirms the minimum development setup required to begin development of ODMref 1.0 and its test fixture(s).
DeRun01 is a console-mode application that operates with the command-line
C:/> DeRun01 --dll file-name
causes the test to run with the specified DLL. The DLL is loaded and the test performed.
DeRun01 presents all of its output to the system console, where it can be redirected.
The output text provides the following information:
An announcement of the application, its version and title.
The Command and options that are being processed.
Report of the loading of the specified DLL.
Report of the entry-point call being performed to the loaded DLL.
Report of the results obtained from the call
Report of any released COM interfaces (in case the DLL returns an interface)
Report of the unloading of the DLL.
Report of the completion of the DeRun01 execution.
All of the output lines are time-stamped. Hmm, maybe not, because that makes it impossible to compare the results of different runs. We'll sort that out later.
The program is first confirmed by being able to load, activate, and unload the ODMA Sample DMS for ODMA 2.0.
The second confirmation is by being able to load, activate, and unload the DeRisk01 DLL properly. This fixture can be used to confirm further risk mitigation software, and builds of ODMref10 as well.
This is a simple program that will be developed in C Language. Except for loading and invoking code in the DLL, it should be a pretty pure POSIX source program. The load and invoking code should be encapsulated in a suitable way. In the future, this code could be a C++ class that manifests the coordinated lifecycle of the loaded DLL.
The ODMGetODMInterface definition is maintained in a header file. This header is included and we manage that appropriately.
A general library for processing command-line parameters would be useful. It would be great to define and develop one of those or even rely on a standard one that is available in the open-source world.
A general stdio library along the lines of my Java conio interface(s) would also be very useful. I can also get examples from my collection of Java goodies.
The existing ODMA header files and the ODMA Sample DMS, the Test32 client, and pieces of the classes used in building the ODMA32 2.0 Connection Manager.
Find existing definitions and declarations for the ODMGetODMInterface operation.
[to be defined. There will be a simple Zip packaging of the completed DeRun01 experiment and everything needed to run it.]
![]() |
You are
navigating the ODMA Interoperability Exchange. |
created 2005-03-26-18:38 -0800 (pst) by
orcmid |