home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / reslib / stattxt / dummy.cpp next >
Encoding:
Text File  |  1996-10-29  |  544 b   |  26 lines

  1. //************************************************************
  2. // Using Resources - Switching Resources Dynamically
  3. //
  4. // Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
  5. // Copyright (c) 1997 John Wiley & Sons, Inc. 
  6. // All Rights Reserved.
  7. //************************************************************
  8. extern "C" {
  9.  
  10. void ADummyFunction()
  11. {
  12. }
  13.  
  14. #pragma export(isValid, "isValid", 1)
  15.  
  16. // Return true if "number" is less than 10.
  17. int isValid( int number)
  18. {
  19.   if (number<10)
  20.      return 1;
  21.   else
  22.      return 0;
  23. }
  24.  
  25. }
  26.