home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / pascal / 7675 < prev    next >
Encoding:
Text File  |  1992-12-25  |  2.3 KB  |  59 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!spool.mu.edu!news.nd.edu!mentor.cc.purdue.edu!pf@bilbo.bio.purdue.edu
  3. From: pf@bilbo.bio.purdue.edu (Paul Furbacher)
  4. Subject: Re: Need help in translating programs from TP to TPW
  5. Message-ID: <Bzt7v2.Fqv@mentor.cc.purdue.edu>
  6. Sender: news@mentor.cc.purdue.edu (USENET News)
  7. Organization: Purdue University
  8. References: <78799@hydra.gatech.EDU>
  9. Distribution: comp.lang.pascal
  10. Date: Fri, 25 Dec 1992 10:01:49 GMT
  11. Lines: 46
  12.  
  13. In article <78799@hydra.gatech.EDU>, gt2768b@prism.gatech.EDU (JENGLUNG LIN) writes:
  14. > I received a project to transfer a program written in TP5.5 to TPW. The program
  15. > cannot be compiled in TPW because it uses several tpu's from TP5.5 such as
  16. > OpString, OpDos, OpCrt, etc.
  17. > Can someone help me to solve this problem? It would be a great help.
  18.  
  19. The "Op" in OpString, etc., indicates that the software
  20. project which you have inerited was written using 
  21. the product, Object Professional, from TurboPower, Inc.
  22.  
  23. Unless you have those units and their source (which comes 
  24. with the package), you won't even be able to compile the 
  25. project in a more recent version of Turbo Pascal or 
  26. Borland Pascal.  Even with the source, you'll not get 
  27. anywhere if you try to recompile the project into a true
  28. Windows app using TPW or Borland Pascal, BPW.
  29.  
  30. I suspect that it's time to look at the program afresh.  
  31. You'll see ways in which the overall program's 
  32. structure and interface can be improved by 
  33. redesigning in Windows from the ground up.  
  34. The "algorithmic", or non-interface related part
  35. doesn't need any alteration, *if* (and this is a big IF)
  36. the interface code (keyboard, screen and other i/o) was
  37. completely encapsulated apart from the former.
  38.  
  39. If there is good encapsulation, then design the Windows
  40. app's interface with the Resource Workshop.  See if
  41. you can get ahold of a Windows application generator, 
  42. such as ProtoView (there are others around).
  43. Upgrading to BP7 will get you some additioal tools as well
  44. which can aid in Windows development.
  45.  
  46. You're saying, I don't have the time to start anew.  
  47. Perhaps it's time to negotiate with those who want the 
  48. project to be done in Windows.  The real question are: 
  49. Do they *need* a Windows app?  What prevents them from 
  50. getting real work done with the DOS app?  There are
  51. lots of trade-offs in this and Windows is not always
  52. the clear winner.
  53.  
  54.  
  55. PF
  56.  
  57.