22.03.2015 Views

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

17.2 <strong>DLI</strong> <strong>Implementation</strong> <strong>and</strong> <strong>Reference</strong> <strong>Guide</strong><br />

Running <strong>DLI</strong> Sample Applications<br />

Concepts <strong>and</strong> Facilities: <strong>Guide</strong> to the DL Pager Composition System<br />

Notes on each specific <strong>DLI</strong> sample follow below. You are not required to test any or<br />

all of them, but if you do, we suggest running them in the order given below.<br />

Some samples require one or more comm<strong>and</strong>-line arguments, <strong>and</strong> will prompt for<br />

them if not given.<br />

You should find the following <strong>DLI</strong> samples in individual subfolders under<br />

C:\<strong>Datalogics</strong>\APDFL6.1.1\<strong>DLI</strong>\Samples (or similar). On Windows<br />

platforms, a Visual Studio C++ v6.0 Workspace file, including all <strong>DLI</strong> samples as<br />

Projects within, can be found in<br />

C:\<strong>Datalogics</strong>\APDFL6.1.0\<strong>DLI</strong>\Samples\All (see dli_samples.dsw).<br />

NOTE: Sample applications included in each release are subject to change. Some<br />

samples may not appear in releases on certain platforms.<br />

Activating Files-in-Memory within Samples<br />

For most samples, adding the comm<strong>and</strong>-line keyword "MEMORY" will run the<br />

application using Files-in-Memory methods. This will make use of memory work files<br />

instead of I/O processing to disk, <strong>and</strong> as a result should show improved processing<br />

times.<br />

Review the source code of any sample to see whether the MEMORY keyword is<br />

supported in that application. (Most <strong>DLI</strong> samples include it.) Typically this is<br />

recognized as an indicator which then determines the calling arguments for<br />

dlpdfinit, as shown in the following excerpt from the Paths sample application,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!