Show/Hide Toolbars

Licence Protector 5

This command ends the cache mode. If write commands have been cached, EndCache saves the updates to the disk.

 

Use this command, after you have activated the cache mode with BeginCache or BeginReadCache.

 

Name

EndCache                                                                                            

Purpose

Terminates cache mode

Params

None

Returncode

Returncode

Type Integer

Note

0

The cache mode successfully terminated. CacheMode is set to 0

Other return codes

Cache mode termination  failed, see list of return codes

Usage

Terminates cache mode

Sample

 

  iRes := lic.BeginCache;

  << start reading values>>

  iRes := lic.EndCache;

See also

GetCacheMode, BeginReadCache, BeginCache, RefreshCache, RevertCache, WriteCache