Static Libraries
Most of CVL is implemented in DLL format, but there is a small block of startup and shutdown initialization code implemented as the static library cogstds.lib. CVL ships with twelve 32-bit versions of cogstds.lib, covering the ANSI, Unicode, release, and debug versions for the three supported compilers (and twelve 64-bit versions), as described in the previous section.
The CVL initializations performed by cogstds.lib must take place before any (CVL) DLLs are loaded, and is therefore linked statically to all CVL applications. This linking takes place automatically by means of a #pragma statement in ch_cvl\defs.h, or with code like that shown in Using CVL in DLLs.
The CVL initialization code added to your application by cogstds.lib is small but essential, and must be present in your CVL-based main application.