Next Previous Up Top Contents Index

4.12 The OLE-AUTOMATION module

OLE-util-in-process-startup?

Function

Signature

OLE-util-in-process-startup?() => in-process?

Arguments

None.

Values

in-process?
An instance of <boolean>.

Description

Can be used when a server can be built as either an in-process (DLL) or a local (EXE) server. Rather than building the configuration information into the sources, you can use this function to determine at run-time which configuration is being used. Typically, you would avoid invoking your application's main routine in the in-process case:

unless (OLE-util-in-process-startup?())
  main-program()
end;

OLE, COM, ActiveX and DBMS Reference - 31 MAR 2000

Next Previous Up Top Contents Index