CkSettings C++ Class Reference (Visual C++)

CkSettings

Class with static methods for miscellaneous program startup/shutdown tasks.

Reference Index
Chilkat Home
Example Programs

Properties

Methods

cleanupMemory
initializeMultithreaded

Properties

Methods

static void cleanupMemory(void);

Useful for checking for memory leaks at program exit. When called, various one-time memory caches used by the Chilkat library are deallocated. (An example would be huffman tables used by the Chilkat Zip compression library.) If cleanupMemory is called, not Chilkat library code should run afterwards. All Chilkat library objects should be allocated either on the heap or as local stack variables so that destructors of Chilkat objects are not called after cleanupMemory has run.

More Information about CkSettings

static void initializeMultithreaded(void);

Must be called once at the beginning of a multi-threaded program.

Copyright 2000-2008 Chilkat Software, Inc.