home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / SASC6571.LZX / examples / cxxsharedlib / READ.ME < prev    next >
Encoding:
Text File  |  1996-12-24  |  1.1 KB  |  28 lines

  1. The programs in this directory demonstrate how to create shared 
  2. libraries using SAS/C® C++ and how to call them from standalone
  3. C++ programs.
  4.  
  5. First, build the shared library and the test program by double-
  6. clicking the Build icon from WorkBench or by typing "smake" from
  7. the Shell.  A shared library called "foo.library" and a program
  8. called cxxsltest will be created.  "foo.library" will be copied
  9. into your LIBS: directory so it will be available for use by
  10. the program.
  11.  
  12. To run the test program, type "cxxsltest" from the Shell or
  13. double-click on the cxxsltest icon from WorkBench.  The program
  14. will print various status lines as functions are called.
  15.  
  16. You can run the CodeProbe debugger on the program if you like
  17. to trace execution more exactly.  If you want to single-step into
  18. functions in the shared library, make sure to enter the following
  19. command into the CPR dialog window first:
  20.  
  21.    OPT RESLIB ON
  22.  
  23. You may also select the "Step into Reslib" option from the Options
  24. menu.
  25.  
  26. For more information about how to create C++ shared libraries,
  27. see the Library Reference Manual, Chapter 5.
  28.