Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

CentumSharedCode.cpp File Reference

This file contains the entry point for the dll, which also loads the root path to the Centum directory. More...

#include "CentumSharedCode.h"
#include <windows.h>

Include dependency graph for CentumSharedCode.cpp:


Functions

BOOL APIENTRY DllMain (HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
 The DllMain function is the entry point for the dll.

Variables

CENTUMSHAREDCODE_API char rootpath [512]
 The path to the Centum directory, ends in a slash.

Detailed Description

This file contains the entry point for the dll, which also loads the root path to the Centum directory.


Function Documentation

BOOL APIENTRY DllMain HANDLE  hModule,
DWORD  ul_reason_for_call,
LPVOID  lpReserved
 

The DllMain function is the entry point for the dll.

To load the path the function searches for the location of the centum_version.txt file using the system path variable, and uses its directory as the Centum root directory. If it cannot be found "C:\\Centum\\" is used as the root directory.


Generated on Sat Apr 16 16:31:08 2005 for Centum API by  doxygen 1.4.2