home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / oop / macapp3 / 406 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!spool.mu.edu!olivea!apple!applelink.apple.com
  2. From: ERIC_BERDAHL@TALIGENT.COM
  3. Newsgroups: comp.sys.mac.oop.macapp3
  4. Subject: Re: pure virtual member func
  5. Message-ID: <9301112107.AA01919@taligent.com>
  6. Date: 11 Jan 93 13:05:00 GMT
  7. Sender: daemon@Apple.COM
  8. Organization: AppleLink Gateway
  9. Lines: 33
  10.  
  11. From: "Eric Berdahl" <Eric_Berdahl@taligent.com>
  12. To: SANTADOG@ISYS.KING.AC.UK,
  13.      "MacApp 3 Technical Discussion" <MACAPP3TECH$@AppleLink.Apple.COM>
  14.  
  15.         Reply to:   RE>pure virtual member functio
  16. Hmm, there seems to be a simple problem, but I can't tell exactly which one i
  17. s biting you.
  18.  
  19. There are two TIPCommand classes in the FotomatApp package. The one in FotoAp
  20. p inherits from TServerCommand. The one in AEImage inherits from TClientComma
  21. nd. They are not interchangable. From your citation of TIPCommand, I assume t
  22. hat you are trying to compile AEImage. However, DoImageProcessing is a method
  23.  of FotoApp's TIPCommand class, so obviously the compiler is seeing that class.
  24.  
  25. Is a puzzlement, said the King.
  26.  
  27. I would suggest getting the latest version of FotoApp, which has been revved
  28. to fix some problems in older versions, one of which (I think) is the one you
  29. 're seeing. In early versions of FotoApp, I made DoImageProcessing pure virtu
  30. al so C++ developers could get compile-time checking that they have implement
  31. ed this method. I also gave it an implementation that would call SubClassResp
  32. onsibility at runtime so Object Pascal developers would get checking too. As
  33. newer compilers came online, that needed to be revved for the error you see.
  34.  
  35. The latest version of FotomatApp should be dated something like April, 1992,
  36. and I think its in the MacApp3Tech$ archives (on ETO and AppleLink).
  37.  
  38. Hope this helps,
  39. Eric
  40. FotoApp author
  41. eric_berdahl@taligent.com
  42.  
  43.  
  44.