home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / SAMPLES / COMPILER / SAMPLE04 / SAMP04B.C < prev    next >
Text File  |  1993-03-15  |  2KB  |  30 lines

  1. /******************************************************************************/
  2. /* SAMPLE PROGRAM 04: SAMP04B.C                                               */
  3. /*                                                                            */
  4. /* COPYRIGHT:                                                                 */
  5. /* ----------                                                                 */
  6. /* Copyright (C) International Business Machines Corp., 1991,1993.            */
  7. /*                                                                            */
  8. /* DISCLAIMER OF WARRANTIES:                                                  */
  9. /* -------------------------                                                  */
  10. /* The following [enclosed] code is sample code created by IBM                */
  11. /* Corporation.  This sample code is not part of any standard IBM product     */
  12. /* and is provided to you solely for the purpose of assisting you in the      */
  13. /* development of your applications.  The code is provided "AS IS",           */
  14. /* without warranty of any kind.  IBM shall not be liable for any damages     */
  15. /* arising out of your use of the sample code, even if they have been         */
  16. /* advised of the possibility of such damages.                                */
  17. /*                                                                            */
  18. /******************************************************************************/
  19.  
  20. /*
  21.  * This routine will be put into its own DLL.  Its address will be calculated
  22.  * at run-time using DosQueryProcAddr(), and it will be called indirectly.
  23.  * It returns the address of the string, which will eventually be printed out
  24.  * by the calling routine.
  25.  */
  26.  
  27. char * _cdecl plugh4( void ) {
  28.   return( "On England's pleasant pastures seen." );
  29. }
  30.