home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / cplus / 11513 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.9 KB

  1. Xref: sparky comp.lang.c++:11513 comp.os.msdos.programmer:8064 alt.msdos.programmer:2066 comp.windows.ms:17994 comp.windows.ms.programmer:7354
  2. Path: sparky!uunet!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu!shyam007
  3. From: shyam007@ccwf.cc.utexas.edu (Shyam sundar P Cherlopalle)
  4. Newsgroups: comp.lang.c++,comp.os.msdos.programmer,alt.msdos.programmer,comp.windows.ms,comp.windows.ms.programmer
  5. Subject: BC 3.1 (owl) -- PStreamError  -- Help !
  6. Message-ID: <76380@ut-emx.uucp>
  7. Date: 22 Jul 92 21:27:10 GMT
  8. Sender: news@ut-emx.uucp
  9. Reply-To: shyam007@ccwf.cc.utexas.edu (Shyam sundar P Cherlopalle)
  10. Followup-To: comp.lang.c++
  11. Organization: The University of Texas at Austin, Austin TX
  12. Lines: 33
  13. Originator: shyam007@doc.cc.utexas.edu
  14.  
  15.  
  16. Hi,
  17.  
  18.   I have been trying to use the TStreamable class of Borland's ObjectWindows
  19.   and write a stream to a file. The class is derived multiply from
  20.   TNSCollection and TStreamable classes. As required by decendents of 
  21.   TStreamable I defined the four operator overloading functions, read, 
  22.   write, build etc and registered the class using 
  23.  
  24.  
  25.     TStreamableClass RegClassname(....);
  26.  
  27.   But when I tried to write an instance of the above class to a file I have
  28.   been getting an error saying
  29.  
  30.      PSTREAM ERROR CONDITION -- Type not Registered.
  31.  
  32.   The class I defined is very similar to the class TPointArray in the steps
  33.   example of ObjectWindows. Can somebody help me get around this by suggesting
  34.   probable error I might have committed.
  35.  
  36.   I have been working on this problem for a week now and have been unable to
  37.   hack around it. It would also be very helpful if some kind soul could send
  38.   me some source code which shows the usage of the above.
  39.  
  40.   Thanks in advance,
  41.  
  42.   -- Shyam
  43. ----------------------------------------------------------------------------
  44. Shyam Cherlopalle                              University of Texas at Austin
  45. email : shyam007@ccwf.cc.utexas.edu        
  46. ----------------------------------------------------------------------------
  47.  
  48.