home *** CD-ROM | disk | FTP | other *** search
/ PC Shareware 1997 September / PCShareware-9-97.iso / programy / tommy / _001940_ < prev    next >
Text File  |  1996-06-04  |  3KB  |  68 lines

  1. //------------------------------------------------------------------------------------------------------
  2. // Name       : import.c
  3. // Date       : 23.05.1996     Author : SM / OK    Language : D
  4. //------------------------------------------------------------------------------------------------------
  5. // This file contains all language-dependent text definitions of the module IMPORT_.DLL. Together with
  6. // the file IMPORT.RC, it is used to build the language library IMPORT.DLL.
  7. // The library file IMPORT.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\toso40.h"          // Toso Interface 4.0 Definitions
  16.  
  17. //------ Language-dependent strings --------------------------------------------------------------------
  18.  
  19. DLL_EXPORT LPSTR
  20.         eStartUpText    [] = {
  21.           "Version 1.00d\n\nCopyright 1996 TommySoftware«\n\nEntwickler: Stefan Malz.",
  22.           "Koordinaten (*.TXT)",                                                // 01
  23.           "Import Koordinaten (*.TXT)...",                                      // 02
  24.           END_TEXT
  25.         },
  26.  
  27.         eDefaultName    [] = {
  28.           "namenlos.txt",                                                       // 00
  29.           "TommySoftware IMPORT",                                               // 01
  30.           "TXT",                                                                // 02
  31.           END_TEXT
  32.         },
  33.  
  34.         eDialogText     [] = {
  35.           "TommySoftware« Koordinaten-Import",                                  // 00
  36.           "Koordinaten (*.TXT)\0*.TXT\0Alle Dateien (*.*)\0*.*\0\0",            // 01
  37.           "Importiere aus Datei\n%s...",                                        // 02
  38.           "Zeile %ld",                                                          // 03
  39.           "%ld KBytes",                                                         // 04
  40.           END_TEXT
  41.         },
  42.  
  43.         eMessageText    [] = {
  44.           "Dieses Modul ben÷tigt mindestens\nToso-Schnittstellenversion 4.0.",  // 00
  45.           "Unzureichender Speicher.\nBitte andere Applikation schlie▀en, um fortzufahren.",     // 01
  46.           "Der Import wurde abgebrochen.",                                      // 02
  47.           "Fehler %ld in Dateiauswahlfenster.",                                 // 03
  48.           "Nicht genug Speicher fⁿr den Import.",                               // 04
  49.           "Fehler %d in Zeile %ld (Offset %ld Bytes).",                         // 05
  50.           END_TEXT
  51.         };
  52.  
  53. //------------------------------------------------------------------------------------------------------
  54. // This DLL entry procedure must exist in any DLL to be used in Win32. Since our language DLL does not
  55. // need any initialization, this procedure is quite empty.
  56.  
  57. BOOL WINAPI DllMain( HINSTANCE hInstance, DWORD Reason, LPVOID Dummy )
  58. {
  59.   switch( Reason ) {
  60.     case DLL_PROCESS_ATTACH:
  61.       break;
  62.  
  63.     case DLL_PROCESS_DETACH:
  64.       break;
  65.   }
  66.   return( TRUE );
  67. }
  68.