home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 August / macformat-027.iso / mac / Shareware City / Developers / Change ver 1.0.1ƒ / Documentation < prev    next >
Encoding:
Text File  |  1995-04-23  |  1.7 KB  |  54 lines  |  [TEXT/R*ch]

  1. Change ver
  2. version 1.0.1
  3. September 9th, 1994
  4. Revised :
  5. April 23rd, 1995
  6. ©Hubert Figuière 1994, 1995
  7.  
  8.  
  9. This program it absolutely FREE...
  10.  
  11. Change ver is simple utility (in fact, just a hack) that I have created for my
  12. own use. It is intended for CodeWarrior users using MW C/C++ compiler.
  13.  
  14. ΔWhat's up in 1.0.1 ?
  15. Version 1.0.1 corrects a nasty bug that could cause a crash. For techies, the 
  16. dummy error was this : a declared only room for 1 MenuHandle, but I needed too.
  17. I never could track it down since a crash never occured, I found this several
  18. month later when picking up the code for another quick hack... I was horrified.
  19.  
  20. ΔWhat it does ?
  21. Huuh. It just change the integer number in the resource of type 'pVer' if the
  22. project to 1. It should be 1 for version 1.0 and 2 for version 1.1. This allows
  23. you to compile project created for 1.1 (CW4) under and 1.0 (CW4) compiler.
  24.  
  25. ΔWhat you should do ?
  26. First you should duplicate your project. Then, you should open it into MW C/C++
  27. and remove the binaries. Now, you can either drop the project file onto Change ver
  28. not open the project file into Change ver.
  29. If you want to do this automatically, you can write an AppleScript.
  30. Here's how to do with AppleScript (in English dialect).
  31.  
  32.     tell application "MW C/C++ 1.1"
  33.         open file <Your project>
  34.         Remove Binaries
  35.         Close Project <Your project>
  36.     end tell
  37.     
  38.     tell application "changer ver"
  39.         open file <Your project>
  40.     end tell
  41.  
  42. That's all.
  43. Please, note that 1.0 compiler does not support resource file including into
  44. project. You should name it "<Your project>.rsrc" to make it automagically
  45. included.
  46. Balloon help are available.
  47.  
  48. ΔPlease, follow comments, bug reports or donations to :
  49. Hubert Figuière
  50. 24 rue des Filmins
  51. 92330 Sceaux
  52. France
  53. e-mail : figuiere@leserveur.com
  54.