home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 August: Tool Chest / Dev.CD Aug 94.toast / Tool Chest / Developer Utilities / Installer 4.0GM SDK / Script Examples / Version Compare / Rsrc Compare with Proc / GetRsrcVersion.c next >
Encoding:
C/C++ Source or Header  |  1994-02-10  |  412 b   |  18 lines  |  [TEXT/MPS ]

  1. #ifndef __VersionCompareHeader__
  2. #include "VersionCompareHeader.h"
  3. #endif
  4.  
  5. #ifndef __AtomExtenderHeader__
  6. #include "AtomExtenderHeader.h"
  7. #endif
  8.  
  9. long
  10. GetRsrcVersion( ComputeVersionPBPtr myComputeVersionPBPtr ) {
  11.  
  12. long    theVersionNumber = 0, theCount = 4;
  13.  
  14.     ReadTargetData( myComputeVersionPBPtr->fCallBackProcPtr, &theCount, (Ptr)&theVersionNumber );
  15.     return theVersionNumber;
  16.     }
  17.  
  18. #include "AtomExtenderCBGlue.c"