The IBM Director SDK provides a C call, TWGSdEvt, that enables you to create and send an event from a C or C++ application running on an IBM Director native managed system (agent) to the IBM Director Server. When you run your application, the corresponding DLL file, TWGSdEvt.dll, uses the information supplied through TWGSdEvt to issue the event. TWGSdEvt.dll is installed with each IBM Director native agent. (On a Netware agent the file is called twgsdevt.nlm.) A standard installation puts the file into directory x:\Program Files\IBM\Director\bin, where x: is the drive on which the agent is installed.
The IBM Director SDK includes two corresponding files, TWGSdEvt.h and TWGSdEvt.lib, that must be used to link your application to TWGSdEvt.dll. TWGSdEvt.h should be pointed to by INCLUDE, and TWGSdEvt.lib should be pointed to by LIB. TWGSdEvt.h is installed in inc\alertmgr below the SDK root directory. The 16-bit version of TWGSdEvt.lib is installed in SDK subdirectory lib_w16.bor; the 32-bit version is installed in SDK subdirectory lib_w32; the OS/2 version is installed in SDK subdirectory lib_os2. (The import library file used with Netware is called twgsdevt.imp; it is installed in SDK subdirectory lib_nov.)
To communicate with the IBM Director Server, your application must follow the guidelines for IPC communication between a service provider (IBM Director agent) and a service requester (IBM Director Server).