//------------------------------------------------------------------------------------------------------
// Name       : tsample.c
// Date       : 23.05.1996     Author : SM / OK    Language : D
//------------------------------------------------------------------------------------------------------
// This file contains all language-dependent text definitions of the module TSAMPLE_.DLL. Together with
// the file TSAMPLE.RC, it is used to build the language library TSAMPLE.DLL.
// The library file TSAMPLE.LIB which is created during the compilation of this language DLL must be
// linked to the module's main DLL in order to have access to the texts and resources defined here.
//------------------------------------------------------------------------------------------------------

#include        "windows.h"
#include        "windowsx.h"
#include        "stdlib.h"

#include        "e:\release4\toso40.h"          // Toso Interface 4.0 Definitions

//------ Language-dependent strings --------------------------------------------------------------------

DLL_EXPORT LPSTR
        eStartUpText    [] = {
          "Version 1.00d\n\nCopyright 1996 TommySoftware\n\nEntwickler: Stefan Malz.",
          "Beispielmodul",                                                      // 01
          "Beispielmodul >",                                                    // 02
          END_TEXT
        },

        eDialogText     [] = {
          "TommySoftware Bespielmodul",                                        // 00
          END_TEXT
        },

        eMessageText    [] = {
          "Dieses Modul bentigt mindestens\nToso-Schnittstellenversion 4.0.",  // 00
          "Unzureichender Speicher.\nBitte andere Applikation schlieen, um fortzufahren.",     // 01
          "Ungltiger Wert.",                                                   // 02
          "Ungltige Anzahl. Erlaubt sind Wert von 3 bis 100.",                 // 03
          END_TEXT
        },

        eCommandName    [] = {
          "Beispielmodul >Stern...",                                            // 00
          NULL,                                                                 // 01
          "Beispielmodul >Infos...",                                            // 02
          END_TEXT
        },

        eCommandEntry   [] = {
          "&1  Stern...",                                                       // 00
          NULL,                                                                 // 01
          "&+  Infos...",                                                       // 02
          END_TEXT
        },

        eNewPoint       [] = {
          "Inneren Radius eingeben",                                            // 00
          "ueren Radius eingeben",                                            // 01
          END_TEXT
        };

//------------------------------------------------------------------------------------------------------
// This DLL entry procedure must exist in any DLL to be used in Win32. Since our language DLL does not
// need any initialization, this procedure is quite empty.

BOOL WINAPI DllMain( HINSTANCE hInstance, DWORD Reason, LPVOID Dummy )
{
  switch( Reason ) {
    case DLL_PROCESS_ATTACH:
      break;

    case DLL_PROCESS_DETACH:
      break;
  }
  return( TRUE );
}
