home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1997 / CT_SW_97.ISO / mac / Software / bild / win95 / t422l1d.exe / _002390_ / TSAMPLE.C
C/C++ Source or Header  |  1997-03-12  |  4KB  |  78 lines

  1. //------------------------------------------------------------------------------------------------------
  2. // Name       : tsample.c
  3. // Date       : 05.03.1997     Author : SM / OK    Language : D
  4. //------------------------------------------------------------------------------------------------------
  5. // This file contains all language-dependent text definitions of the module TSAMPLE_.DLL. Together with
  6. // the file TSAMPLE.RC, it is used to build the language library TSAMPLE.DLL.
  7. // The library file TSAMPLE.LIB which is created during the compilation of this language DLL must be
  8. // linked to the module's main DLL in order to have access to the texts and resources defined here.
  9. //------------------------------------------------------------------------------------------------------
  10.  
  11. #include        "windows.h"
  12. #include        "windowsx.h"
  13. #include        "stdlib.h"
  14.  
  15. #include        "e:\release4\tosoapi4.h"        // Toso Interface Definitions
  16.  
  17. //------ Language-dependent strings --------------------------------------------------------------------
  18.  
  19. DLL_EXPORT LPSTR
  20.         eStartUpText    [] = {
  21.           "Version 1.10d, %s\n\nCopyright 1997 TommySoftwareÆ\n\nEntwickler: Stefan Malz.",
  22.           "Beispiel-Plug-In",                                                   // 01
  23.           "Beispiel-Plug-In >",                                                 // 02
  24.           END_TEXT
  25.         },
  26.  
  27.         eDialogText     [] = {
  28.           "TommySoftwareÆ Beispiel-Plug-In",                                    // 00
  29.           "Stern (TSAMPLE)",                                                    // 01
  30.           END_TEXT
  31.         },
  32.  
  33.         eMessageText    [] = {
  34.           "Dieses Plug-In benˆtigt mindestens\nToso-Schnittstellenversion 4.2.",// 00
  35.           "Unzureichender Speicher.\nBitte andere Applikation schlieflen, um fortzufahren.",     // 01
  36.           "Ung¸ltiger Wert.",                                                   // 02
  37.           "Ung¸ltige Anzahl. Erlaubt sind Wert von 3 bis 100.",                 // 03
  38.           END_TEXT
  39.         },
  40.  
  41.         eCommandName    [] = {
  42.           "Beispiel-Plug-In >Stern (Polylinie)...",                             // 00
  43.           "Beispiel-Plug-In >Stern (Benutzer-Objekt)...",                       // 01
  44.           NULL,                                                                 // 02
  45.           "Beispiel-Plug-In >Infos...",                                         // 03
  46.           END_TEXT
  47.         },
  48.  
  49.         eCommandEntry   [] = {
  50.           "&1  Stern (Polylinie)...",                                           // 00
  51.           "&2  Stern (Benutzer-Objekt)...",                                     // 01
  52.           NULL,                                                                 // 02
  53.           "&+  Infos...",                                                       // 03
  54.           END_TEXT
  55.         },
  56.  
  57.         eNewPoint       [] = {
  58.           "Inneren Radius eingeben",                                            // 00
  59.           "ƒufleren Radius eingeben",                                            // 01
  60.           END_TEXT
  61.         };
  62.  
  63. //------------------------------------------------------------------------------------------------------
  64. // This DLL entry procedure must exist in any DLL to be used in Win32. Since our language DLL does not
  65. // need any initialization, this procedure is quite empty.
  66.  
  67. BOOL WINAPI DllMain( HINSTANCE hInstance, DWORD Reason, LPVOID Dummy )
  68. {
  69.   switch( Reason ) {
  70.     case DLL_PROCESS_ATTACH:
  71.       break;
  72.  
  73.     case DLL_PROCESS_DETACH:
  74.       break;
  75.   }
  76.   return( TRUE );
  77. }
  78.