2.6 Include Files

There are various enumerations and data types that the Token APIs use. For C++, the header file is GWDLL.H. For Delphi, the file is GWDLL.PAS. Both files are included in the GroupWise SDK.

In the C++ version of the sample application, you need to link in the Ole32.lib library to take advantage of the Publish() method. This method uses the OLE interface into the Token Commander API. You also need to include the following header files:

#include "windows.h"
#include "gwdll.h"
#include <initguid.h>
#include <objbase.h>
#include "Ofcmndr.h"