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

  1. //************************************************************
  2. // Using Resources - Building a Resource DLL
  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.   IDynamicLinkLibrary dllLib("myeng");
  16.   IString str = dllLib.loadString(MY_TEXT);
  17.  
  18.   cout << "The resource text is [" << str << "]" << endl;
  19. }
  20.  
  21.