clCmd  clExec

Chapter 2: Bridged Functions

clDisable

Description

Disables the current application.

WARNING! Use this function with caution. It requires operator intervention to re-enable an application once is has been disabled. Any new DFC commands for the disabled application automatically re-enable it.

Syntax

int clDisable()

Return value

Integer.

Returns 1 for success, and 0 for failure.

Examples

Example 3

// something happens in the application
// to determine it should shut down.
rv = clDisable();




Copyright © 2005. Sybase Inc. All rights reserved. clExec

View this book as PDF