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

  1. //------------------------------------------------------------------------------------------------------
  2. // Name       : export.c
  3. // Date       : 05.03.1997     Author : SM / OK    Language : D
  4. //------------------------------------------------------------------------------------------------------
  5. // This file contains all language-dependent text definitions of the module EXPORT_.DLL. Together with
  6. // the file EXPORT.RC, it is used to build the language library EXPORT.DLL.
  7. // The library file EXPORT.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.           "Koordinaten (*.TXT)",                                                // 01
  23.           "Export Koordinaten (*.TXT)...",                                      // 02
  24.           "",                                                                   // 03
  25.           "Koordinaten (*.txt)",                                                // 04
  26.           "*.txt",                                                              // 05
  27.           "txt",                                                                // 06
  28.           END_TEXT
  29.         },
  30.  
  31.         eDialogText     [] = {
  32.           "TommySoftwareÆ Koordinaten-Export",                                  // 00
  33.           "namenlos.txt",                                                       // 00
  34.           "Exportiere in Datei\n%s...",                                         // 02
  35.           "Zeile %ld",                                                          // 03
  36.           "%ld KBytes",                                                         // 04
  37.           END_TEXT
  38.         },
  39.  
  40.         eMessageText    [] = {
  41.           "Dieses Plug-In benˆtigt mindestens\nToso-Schnittstellenversion 4.2.",// 00
  42.           "Unzureichender Speicher.\nBitte andere Applikation schlieflen, um fortzufahren.",     // 01
  43.           "Der Export wurde abgebrochen.",                                      // 02
  44.           "Fehler %ld in Dateiauswahlfenster.",                                 // 03
  45.           "Fehler beim Schreiben in die Datei.",                                // 04
  46.           END_TEXT
  47.         };
  48.  
  49. //------------------------------------------------------------------------------------------------------
  50. // This DLL entry procedure must exist in any DLL to be used in Win32. Since our language DLL does not
  51. // need any initialization, this procedure is quite empty.
  52.  
  53. BOOL WINAPI DllMain( HINSTANCE hInstance, DWORD Reason, LPVOID Dummy )
  54. {
  55.   switch( Reason ) {
  56.     case DLL_PROCESS_ATTACH:
  57.       break;
  58.  
  59.     case DLL_PROCESS_DETACH:
  60.       break;
  61.   }
  62.   return( TRUE );
  63. }
  64.