1/* 2 * dllEntry.c -- 3 * 4 * This procedure provides the entry point for the dll 5 * 6 */ 7 8#include <windows.h> 9 10#if defined(_MSC_VER) || defined(__GNUC__) 11#define DllEntryPoint DllMain 12#endif 13 14/* 15 *---------------------------------------------------------------------- 16 * 17 * DllEntryPoint -- 18 * 19 * This routine is called by gcc, VC++ or Borland to invoke the 20 * initialization code for Tcl. 21 * 22 * Results: 23 * TRUE. 24 * 25 * Side effects: 26 * None. 27 * 28 *---------------------------------------------------------------------- 29 */ 30 31BOOL APIENTRY 32DllEntryPoint ( 33 HINSTANCE hInst, /* Library instance handle. */ 34 DWORD reason, /* Reason this function is being called. */ 35 LPVOID reserved) /* Not used. */ 36{ 37 return TRUE; 38} 39