home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12316 < prev    next >
Encoding:
Text File  |  1992-08-13  |  1.7 KB  |  38 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!gatech!rpi!batcomputer!munnari.oz.au!metro!extro.ucc.su.OZ.AU!maxtal
  3. From: maxtal@extro.ucc.su.OZ.AU (John MAX Skaller)
  4. Subject: Re: How to hack c++ into doing late binding ?
  5. Message-ID: <1992Aug13.151003.15231@ucc.su.OZ.AU>
  6. Sender: news@ucc.su.OZ.AU
  7. Nntp-Posting-Host: extro.ucc.su.oz.au
  8. Organization: MAXTAL P/L C/- University Computing Centre, Sydney
  9. References: <2A827DFD.6D68@tct.com> <1992Aug10.191631.4133@microsoft.com> <1992Aug11.000613.6607@leland.Stanford.EDU>
  10. Date: Thu, 13 Aug 1992 15:10:03 GMT
  11. Lines: 25
  12.  
  13. In article <1992Aug11.000613.6607@leland.Stanford.EDU> kocks@jessica.stanford.edu (Peter Kocks) writes:
  14. >Here's a qestion for all you c++ fanatics.
  15. >
  16. >I want my application to support late binding.  By that I mean:
  17. >
  18. >I want to write some code and compile and link it together so I have
  19. >my application.  At some later time, I want to be able to give the
  20. >user of my application a new version of an object (or should I say
  21. >virtual class) already in the excecutable code.  I want the user to be
  22. >able to simply add the new definition for that class of object to the
  23. >excutable without needing to recompile the thing.
  24. >
  25.  
  26.     C++ has no run-time system (except for new/delete).
  27. Instead it relys on the operating system.
  28. What you need to do 'dynamic linkage' is a decent operating system.
  29. Windows and OS/2 do exactly what you want. I do it, it
  30. works superbly. So your problem is that Unix is a brain dead
  31. operating system :-) 
  32.  
  33. -- 
  34. ;----------------------------------------------------------------------
  35.         JOHN (MAX) SKALLER,         maxtal@extro.ucc.su.oz.au
  36.     Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
  37. ;--------------- SCIENTIFIC AND ENGINEERING SOFTWARE ------------------
  38.