Index

# XProcess

XObject &rarrXProcess

public
- ExecuteProg
- LoadIcon
- Terminate
- XProcess
- ~XProcess
- initiate/terminate a process
- Start
- misc
- Beep
- Sleep

#### Derrived

: public XObject

## public

###

ExecuteProg

#### Definition

`

LONG ExecuteProg ( char* path, char* args, char* env, ULONG flag, LONG* result )

static LONG ExecuteProg ( char* path, char* args, char* env, ULONG flag, LONG* result )

`

#### Returns

LONG

static LONG

###

LoadIcon

Load file-related icon.

#### Definition

`

OOL_ICONHANDLE LoadIcon ( char* p, BOOL copy )

static OOL_POINTERHANDLE LoadIcon ( char* p, BOOL copy = FALSE )

`

#### Parameters

: char * theFile The filename of the icon to be loaded BOOL copy If TRUE you get a copy of the icon so changes have no effect. Default is TRUE.

#### Returns

OOL_ICONHANDLE The handle of the icon.

static OOL_POINTERHANDLE

###

Terminate

#### Definition

`

void Terminate ( void )

virtual void Terminate ( void )

`

#### Returns

void

###

XProcess

#### Definition

`

XProcess ( void )

XProcess ( )

`

#### Returns

-

###

~XProcess

#### Definition

`

virtual ~XProcess ( )

`

## initiate/terminate a process

###

Start

after a process (XApplication/XThread) is constructed und you have setup your code, call Start() to make the process work.

#### Definition

`

void Start ( void )

`

#### Returns

void

## misc

###

Beep

generates sound

#### Definition

`

void Beep ( LONG f, LONG d )

static void Beep ( LONG f, LONG d )

`

#### Parameters

: LONG frequency frequency in hertz LONG duration duration in milliseconds

#### Returns

void

static void

###

Sleep

the current process is suspended for the given time

#### Definition

`

void Sleep ( LONG d )

static void Sleep ( LONG d )

`

#### Parameters

: LONG duration time to sleep

#### Returns

void

static void

Created by AutoDoc, (C) 1996 by Jens von Pilgrim