home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / winsock / fingd100 / src / fingerd.rc < prev    next >
Encoding:
Text File  |  1995-05-19  |  5.7 KB  |  161 lines

  1. // Contents ---------------------------------------------------------------
  2. //
  3. //   fingerd.rc -- Windows 3.x resource file
  4. //
  5. //   Version 1.0, Windows Socket Finger Daemon
  6. //
  7. //   Copyright (C) Frederick W. Bent 1994
  8. //   All rights reserved.
  9. //
  10. //
  11. // Description
  12. //
  13. //    Contains the main menu, stringtable and version information
  14. //
  15. // Ends -------------------------------------------------------------------
  16.  
  17. // History ----------------------------------------------------------------
  18. //
  19. // 6/28/94  1.0  Fred Bent    Wrote this thing
  20. //
  21. // Ends -------------------------------------------------------------------
  22.  
  23. // Interface Dependencies -------------------------------------------------
  24.  
  25. #include <windows.h>
  26. #include <winsock.h>
  27. #include <ver.h>
  28. #include "fingerd.h"
  29.  
  30. #include "fingerd.dlg"
  31.  
  32. Icon ICON fingerd.ico
  33. Msdn ICON msdn.ico
  34. Frame ICON winsock.ico
  35.  
  36. Menu MENU
  37. BEGIN
  38.     POPUP "&File"
  39.     BEGIN
  40.         MENUITEM "&Setup...",    IDM_OPTIONS
  41.         MENUITEM "E&xit",        IDM_EXIT
  42.     END
  43.     POPUP "&Edit"
  44.     BEGIN
  45.     MENUITEM "&Copy\tShift+Del",    IDM_COPY
  46.     MENUITEM "C&lear\tCtrl+Del",    IDM_CLEAR
  47.     END
  48.     POPUP "&Help"
  49.     BEGIN
  50.     MENUITEM "&Index",        IDM_HELP
  51.     MENUITEM SEPARATOR
  52.     MENUITEM "&About fingerd...",   IDM_ABOUT
  53.     END
  54. END
  55.  
  56. FINGERD ACCELERATORS
  57. BEGIN
  58.     VK_DELETE,    IDM_COPY,    VIRTKEY, SHIFT
  59.     VK_DELETE,    IDM_CLEAR,    VIRTKEY, CONTROL
  60. END
  61.  
  62. STRINGTABLE
  63. BEGIN
  64.     IDS_BAD_VERSION,  "Windows Sockets version is not v1.1!"
  65.     IDS_INITIALIZE,   "Error occured during initialization!"
  66.     IDS_FILTER,          "Text Files (*.TXT)\0*.txt\0All Files (*.*)\0*.*\0\0"
  67.     IDS_CONNECT_S,    "Connection from %s (%u)"
  68.     IDS_SENT_S,          "%s>"
  69.     IDS_RECV_S,          "%s< %u"
  70.     IDS_DISCONNECT_S, "%s disconnected!"
  71.     IDS_REQUEST_ERR,  "%s: Not enough buffer memory!"
  72.     IDS_FILE_ERR,    "Error during file access!"
  73.     IDS_EXITING        "Are you sure you want to exit Finger Daemon?"
  74.     IDS_EXIT_ACTIVE,    "There is an active finger client connection!"
  75.     IDS_DAEMON_START,    "Task %u started"
  76.  
  77.     WSANOTINITIALISED,"WSANOTINITIALISED: Windows Sockets API not initialized!"
  78.     WSAENETDOWN,      "WSAENETDOWN: WinSock says the network is down!"
  79.     WSAENETUNREACH,   "WSAENETUNREACH: Network unreachable"
  80.     WSAENETRESET,     "WSANETRESET: Network reset!"
  81.     WSAECONNABORTED,  "WSAECONNABORTED: Connection aborted!"
  82.     WSAECONNRESET,    "WSAECONNRESET: Connection reset?"
  83.     WSAEACCES,        "WSAEACCES: Access error!"
  84.     WSAEADDRINUSE,    "WSAEADDRINUSE: Something else is already using the FINGER port!"
  85.     WSAEADDRNOTAVAIL, "WSAEADDRNOTAVAIL: Address not available"
  86.     WSAEALREADY,      "WSAEALREADY: Already used/in use?"
  87.     WSAEDESTADDRREQ,  "WSAEDESTADDRREQ: Destination address request"
  88.     WSAEMSGSIZE,      "WSAEMSGSIZE: Message Size"
  89.     WSAEBADF,         "WSAEBADF: Bad file?"
  90.     WSAEFAULT,        "WSAEFAULT: Fault Error!"
  91.     WSAEINTR,         "WSAEINTR: Interrupt Error!"
  92.     WSAEINPROGRESS,   "WSAEINPROGRESS: Something is blocking!"
  93.     WSAEAFNOSUPPORT,  "WSAEAFNOSUPPORT: AF Not supported?"
  94.     WSAEINVAL,        "WSAEINVAL: Invalid parameter"
  95.     WSAEMFILE,        "WSAEMFILE: Out of file handles?"
  96.     WSAENOBUFS,       "WSAENOBUFS: No more buffers left"
  97.     WSAEISCONN,       "WSAEICONN: You are already connected"
  98.     WSAENOTCONN,      "WSAENOTCONN: You are not connected. You using Lanera's TCP/IP?"
  99.     WSAESHUTDOWN,     "WSAESHUTDOWN: WinSock Shutdown iminent?"
  100.     WSAETOOMANYREFS,  "WSAETOOMANYREFS: Too many references"
  101.     WSAETIMEDOUT,     "WSAETIMEDOUT: Timed out!"
  102.     WSAECONNREFUSED,  "WSAECONNREFUSED: Connection refused?"
  103.     WSAELOOP,         "WSAELOOP: Loop?!?"
  104.     WSAENAMETOOLONG,  "WSAENAMETOOLONG: Name too long?"
  105.     WSAEHOSTDOWN,     "WSAEHOSTDOWN: Host down?"
  106.     WSAEHOSTUNREACH,  "WSAEHOSTUNREACH: Host unreachable?"
  107.     WSASYSNOTREADY,   "WSASYSNOTREADY: System not ready"
  108.     WSAVERNOTSUPPORTED,"WSAVERNOTSUPPORTED: Version not supported"
  109.     WSAHOST_NOT_FOUND,"WSAHOST_NOT_FOUND: Host not found"
  110.     WSATRY_AGAIN,     "WSATRY_AGAIN: Try, try again"
  111.     WSANO_RECOVERY,   "WSANO_RECOVERY: Can't recover"
  112.     WSANO_DATA,       "WSANO_DATA: No data"
  113.     WSAENOTSOCK,      "WSAENOTSOCK: Parameter was not a valid socket!"
  114.     WSAEPROTOTYPE,    "WSAEPROTOTYPE: Bad protocol type?"
  115.     WSAENOPROTOOPT,   "WSAENOPROTOOPT: No protocol option?"
  116.     WSAEPROTONOSUPPORT,"WSAEPROTONOSUPPORT: Protocol not supported"
  117.     WSAEOPNOTSUPP,    "WSAEOPNOTSUPP: Operation not supported"
  118.     WSAEPFNOSUPPORT,  "WSAEPFNOSUPPORT: Protocol family not supported?"
  119.     WSAEWOULDBLOCK,   "Requested operation would block, click OK!"
  120.  
  121.  
  122. END
  123.  
  124.  
  125.  
  126.  
  127. // The version information resource
  128. VS_VERSION_INFO         VERSIONINFO
  129. FILEVERSION             1, 0
  130. PRODUCTVERSION          1, 0
  131. FILEFLAGSMASK           VS_FFI_FILEFLAGSMASK
  132. FILEFLAGS               VS_FF_PRERELEASE
  133. FILEOS                  VOS_DOS_WINDOWS16
  134. FILETYPE                VFT_APP
  135. FILESUBTYPE             VFT2_UNKNOWN
  136. BEGIN
  137.    BLOCK "VarFileInfo"
  138.    BEGIN
  139.       VALUE "Translation", 0x0409, 1252
  140.    END
  141.  
  142.    BLOCK "StringFileInfo"
  143.    BEGIN
  144.       BLOCK "040904E4"
  145.       BEGIN
  146.          VALUE "Comments",         "StringFileInfo: U.S. English\0"
  147.      VALUE "CompanyName",      "Frederick W. Bent\0"
  148.      VALUE "FileDescription",  "Fingerd: Windows Sockets Finger Protocol Daemon\0"
  149.      VALUE "FileVersion",      "1.00\0"
  150.      VALUE "InternalName",     "FINGERD\0"
  151.      VALUE "LegalCopyright",   "Copyright \251 1994 by Frederick W. Bent\0"
  152.      VALUE "LegalTrademarks",  "Windows\256 is a registered trademark of Microsoft Inc.\0"
  153.      VALUE "OriginalFilename", "FINGERD.EXE\0"
  154. //       VALUE "PrivateBuild",     "\0"
  155.      VALUE "ProductName",      "Winsock finger daemon\0"
  156.      VALUE "ProductVersion",   "1.00\0"
  157. //       VALUE "SpecialBuild",     "\0"
  158.       END
  159.    END
  160. END
  161.