⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wsc4vb_u.txt

📁 在VB中实现通讯的例子
💻 TXT
📖 第 1 页 / 共 3 页
字号:

















     WSC4VB Users Manual                                       Page 13

      9.0 Legal Issues

      9.1 Registration

      WSC4VB may be registered for $85 plus $7 S&H ($12 outside of North
      America).

      To order, contact us as shown on the title page of this manual. All
      prices are guaranteed for one year from the release date.

      Multiple copy discounts (3 or more) and site licenses are available.
      Please call for details.

      We accept American Express, VISA, MasterCard, Discover, checks in US
      dollars drawn on a US bank, International Postal Money Orders,
      purchase orders (POs) from recognized US schools and companies listed
      in Dun & Bradstreet, and COD (street address and phone number
      required) within the USA (plus a $5 COD charge).

      For credit card orders, be sure to include the account number, the
      expiration date, the exact name on the card, and the complete card
      billing address (address to which the credit card bill is mailed).

      Print the file INVOICE.TXT if a "Pro Forma" invoice is needed.

      If you wish to update from an older version of WSC4VB, updates are
      $30 plus $7 S&H ($12 S&H outside of North America). The registered
      package includes:

           o  Win16 / Win32 WSC4VB Libraries w/o shareware screens.
           o  Win16 / Win32 source code for WSC, MIO, and XYDRIVER.
           o  Printed Users Manual, Reference Manual, and RS232 Manuals.
           o  Telephone and email support for one year.

      The registered user will receive the latest version of WSC4VB shipped
      by US second day priority mail (packet airmail overseas).  A 3.5"
      HD diskette is provided.

      9.2 Academic Discount

      We offer an "academic price" of 40% off the normal price for prepaid
      email orders to faculty and students currently enrolled in any
      accredited high school, college, or university. To qualify for the
      discount, your school must have a web site and you must have an email
      address at your school.

      When ordering, ask for the "academic discount", or enter "student at"
      (or "faculty at") and your schools web site address (URL) in the
      comments field of the order form on our web site order page.

      This offer is not retroactive and cannot be used with any other
      discount. Products bought with academic pricing can not be used for
      any commercial purpose.





     WSC4VB Users Manual                                       Page 14

      9.3 License

      MarshallSoft Computing, Inc. grants the registered user of WSC4VB the
      right to use one copy of the WSC4VB library (in object form) on a
      single computer in the development of any software product (other
      than libraries such as WSC4VB). The user may not use the library on
      more than one computer at the same time.  The source code for the
      library (WSC16.C, WSC32.C, MIO.C, and XYDRV.C) is copyrighted by
      MarshallSoft Computing and may not be released in whole or in part.
      The registered DLLs may be distributed (without royalty) in object
      form only, as part of the user's application, provided that the
      application is NOT a compiler, interpreter, or other software
      development program.

      9.4 Warranty

      MARSHALLSOFT COMPUTING, INC.  DISCLAIMS ALL WARRANTIES RELATING TO
      THIS SOFTWARE, WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
      LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
      A PARTICULAR PURPOSE, AND ALL SUCH WARRANTIES ARE EXPRESSLY AND
      SPECIFICALLY DISCLAIMED. NEITHER MARSHALLSOFT COMPUTING, INC.  NOR
      ANYONE ELSE WHO HAS BEEN INVOLVED IN THE CREATION, PRODUCTION, OR
      DELIVERY OF THIS SOFTWARE SHALL BE LIABLE FOR ANY INDIRECT,
      CONSEQUENTIAL, OR INCIDENTAL DAMAGES ARISING OUT OF THE USE OR
      INABILITY TO USE SUCH SOFTWARE EVEN IF MARSHALLSOFT COMPUTING, INC.
      HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR CLAIMS. IN NO
      EVENT SHALL MARSHALLSOFT COMPUTING, INC.'S LIABILITY FOR ANY SUCH
      DAMAGES EVER EXCEED THE PRICE PAID FOR THE LICENSE TO USE THE
      SOFTWARE, REGARDLESS OF THE FORM OF THE CLAIM. THE PERSON USING THE
      SOFTWARE BEARS ALL RISK AS TO THE QUALITY AND PERFORMANCE OF THE
      SOFTWARE.

      Some states do not allow the exclusion of the limit of liability for
      consequential or incidental damages, so the above limitation may not
      apply to you.

      This agreement shall be governed by the laws of the State of Alabama
      and shall inure to the benefit of MarshallSoft Computing, Inc.  and
      any successors, administrators, heirs and assigns.  Any action or
      proceeding brought by either party against the other arising out of
      or related to this agreement shall be brought only in a STATE or
      FEDERAL COURT of competent jurisdiction located in Madison County,
      Alabama. The parties hereby consent to in personam jurisdiction of
      said courts.














     WSC4VB Users Manual                                       Page 15

      10.0 Summary

      10.1 Revision History


      Version 2.0: 17 February, 1997.

          o  Includes Win16 and Win32 libraries.
          o  Added XMODEM & YMODEM DLL (XYDRV.DLL).
          o  Added TERM example program.

      Version 2.1: 9 June, 1997.

          o  Screen display uses MEMO class.
          o  WIN32 version can display error text from Win32 Windows.
          o  Added FIND example program.
          o  Added SioRead function.
          o  SioInfo can return seconds to expiration [SHAREWARE].

      Version 2.2: 1 November, 1997.

          o  XYDRV code fixes bugs.
          o  Added xyGetFileName function to XYDRV.
          o  Supports up to 16 ports.
          o  WSC4VB runs under Windows NT.
          o  Added ASCII protocol (ASDRV).

      Version 2.3: 14 August, 1998

          o  Improvements to XYDRIVER (XMODEM and YMODEM).
          o  SioTimer function added.
          o  SioBaud and SioParms can be called before SioReset.
          o  Declaration files for Power Builder added.

























     WSC4VB Users Manual                                       Page 16

      10.2 WSC Function Summary

      Refer to the WSC4VB Reference Manual (WSC4VB_R.TXT) for detailed
      information.

      Refer to the RS232 Reference Manual (RS232.TXT) for technical
      information on UARTs, modems, and other RS232 issues.

      A one line summary of each function follows:

      +-------------+-----------------------------------------------------+
      | SioBaud     |  Sets the baud rate of the selected port.           |
      | SioBrkSig   |  Asserts, cancels, or detects BREAK signal.         |
      | SioCTS      |  Reads the Clear to Send (CTS) modem status bit.    |
      | SioDCD      |  Reads the Data Carrier Detect (DCD) modem status.  |
      | SioDone     |  Terminates further serial processing.              |
      | SioDSR      |  Reads the Data Set Ready (DSR) modem status bit.   |
      | SioDTR      |  Set, clear, or read the Data Terminal Ready (DTR). |
      | SioFlow     |  Enables / disables hardware flow control.          |
      | SioGetc     |  Reads the next character from the serial line.     |
      | SioGets     |  Receives a string of characters.                   |
      | SioInfo     |  Returns information such as library version.       |
      | SioParms    |  Sets parity, stop bits, and word length.           |
      | SioPutc     |  Transmit a character over a serial line.           |
      | SioPuts     |  Transmits a string of characters.                  |
      | SioRead     |  Reads any UART register.                           |
      | SioReset    |  Initialize a serial port for processing.           |
      | SioRI       |  Reads the Ring Indicator (RI) modem status bit.    |
      | SioRTS      |  Sets, clears, or reads the Request to Send (RTS).  |
      | SioRxClear  |  Clears the receive buffer.                         |
      | SioRxQue    |  Returns the number of characters in the RX queue.  |
      | SioStatus   |  Returns the serial port line status.               |
      | SioTimer    |  Returns the system times in milliseconds.          |
      | SioTxClear  |  Clears the transmit buffer.                        |
      | SioTxQue    |  Returns the number of characters in the TX queue.  |
      | SioUnGetc   |  "Ungets" (puts back) a specified character.        |
      | SioWinError |  Returns Win32 error message as text.               |
      +-------------+-----------------------------------------------------+




















     WSC4VB Users Manual                                       Page 17

      10.3 Further Reading

      The best way to learn about serial communications is to read a good
      book on the subject. Several good texts are available.  Two that I
      like are:

      (1) C Programmer's Guide to Serial Communications by Joe Campbell
      (SAMS) (2) Mastering Serial Communications by Peter Gofton (SYBEX).

      Don't forget to read over the RS232 Users Manual (RS232.TXT). For
      more detailed information on XMODEM, YMODEM, and ZMODEM, download
      PPL4VB (see 11.2 below).

      11.0 Other MarshallSoft Computing Products for Visual Basic

      Several shareware products are available from MarshallSoft Computing.

      11.1 The Personal Communications Library for Visual Basic / DOS

      Personal Comm Library for Visual Basic. (PCL4VB61.ZIP), Dec 97, Ver
      6.1, [ASP]. Supports COM1 thru COM20 to 115200, 4 plus ports
      concurrently, many dumb multiport boards, 16550, 16650, 16750 UARTs,
      interrupt driven, RTS/CTS flow control, any UART address and IRQ.
      Requires VBDOS compiler. $85 + S&H.

      11.2 The Personal Protocol Library for Visual Basic / DOS

      Personal Protocol Library for Visual Basic (PPL4VB20.ZIP), April 95,
      Ver 2.0, [ASP]. PPL4PB is a protocol library supporting ASCII,
      XMODEM, XMODEM-CRC, XMODEM-1K, YMODEM, YMODEM-G, and ZMODEM
      protocols. Requires the Personal Communications Library for VBDOS
      (PCL4VB). $40.

      11.3 Serial Libraries for Other Languages

      We have communications libraries for C/C++, Turbo Pascal, Visual
      Basic, and Power Basic. All PCL libraries support the 8250, 16450,
      16550, 16650, and 16750 UARTs. Check our WEB site.

        PCL4C : C/C++, DOS (includes 16-bit protected mode).
        PCL4P : Turbo Pascal, DOS (includes 16-bit protected mode).
       PCL4VB : Visual Basic, DOS (VBDOS).
       PCL4PB : Power Basic, DOS.

        PCL4W : C/C++, Windows 3.1 & Win 95/98, talks to hardware directly.
       PCLVBW : Visual Basic, Win 3.1 & Win 95/98, talks to hardware directly.

        WSC4C : C/C++, Win 3.1/95/98/NT. Uses Windows API.
       WSC4VB : Visual Basic, Win 3.1/95/98/NT. Uses Windows API.
        WSC4D : Borland Delphi, Win 3.1/95/98/NT. Uses Windows API.
       WSC4PB : Power Basic Console Compiler, Win 95/98/NT. Uses Win API.







     WSC4VB Users Manual                                       Page 18

       11.4 Internet Libraries

        WIL4C : C/C++, Win 3.1/95/98/NT. The "Winsock Interface Library"
                supports TCP,SMTP,POP3,TELNET,FTP, etc.

                WINSOCK INTERFACE LIBRARY for C/C++. Win16 & Win32 DLLs.
                (WIL4C20.ZIP). Feb 14, 1998. Version 2.0, [ASP]. The
                Winsock Interface Library simplifies winsock network
                communications programming and provides support for the
                most common Internet protocols such as Finger, SMTP, POP3,
                FTP, NNTP, and HTTP. Requires windows C compiler.
                Registration is $95 + $7 S&H ($12 overseas).

        SEE4C : C/C++, Win 3.1/95/98/NT. The simplest way to email from your
                C/C++ application, including MIME attachments.

                SMTP Email Engine for C/C++. Win16 & Win32 DLLs.
                (SEE4C10.ZIP). June 1, 1998. Version 1.0 [ASP]. Email from
                your C/C++ application. Simple API allows sending email,
                including MIME attachments. Knowledge of Winsock and TCP/IP
                not needed. Includes multiple C/C++ examples. Requires
                windows C/C++ compiler. Registration is $95 ($49 students)
                + $7 S&H ($12 foreign).

       SEE4VB : Visual Basic, Win 3.1/95/98/NT. The simplest way to email
                from your VB application, including MIME attachments.

       SEE4PB : Power Basic, Windows 95/98/NT. The simplest way to email
                from your PBCC application, including MIME attachments.

        SEE4D : Delphi, Win 3.1/95/98/NT. The simplest way to email
                from your Delphi application, including MIME attachments.

        SEE4F : ABSOFT Fortran, Windows 95/98/NT. The simplest way to email
                from your Fortran application, including MIME attachments.

       SEE4CB : Fujitsu COBOL, Windows 95/98/NT. The simplest way to email
                from your COBOL application, including MIME attachments.




















     WSC4VB Users Manual                                       Page 19

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -