home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / reslib / exetext / exetext.cpp next >
Encoding:
C/C++ Source or Header  |  1996-10-29  |  554 b   |  21 lines

  1. //************************************************************
  2. // Using Resources - Resources in the EXE
  3. //
  4. // Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
  5. // Copyright (c) 1997 John Wiley & Sons, Inc. 
  6. // All Rights Reserved.
  7. //************************************************************
  8. #include <iostream.h>
  9. #include <istring.hpp>
  10. #include <ireslib.hpp>
  11. #include "mytext.h"
  12.  
  13. void main()
  14. {
  15.   IResourceLibrary reslib;
  16.   IString str = reslib.loadString(MY_TEXT);
  17.  
  18.   cout << "The resource text is [" << str << "]" << endl;
  19. }
  20.  
  21.