home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c++:11812 comp.windows.ms:18115
- Path: sparky!uunet!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu!shyam007
- From: shyam007@ccwf.cc.utexas.edu (Shyam sundar P Cherlopalle)
- Newsgroups: comp.lang.c++,comp.windows.ms
- Subject: BC 3.1 PStream error-- Help required
- Message-ID: <76825@ut-emx.uucp>
- Date: 30 Jul 92 20:37:11 GMT
- Sender: news@ut-emx.uucp
- Reply-To: shyam007@ccwf.cc.utexas.edu (Shyam sundar P Cherlopalle)
- Followup-To: comp.lang.c++
- Organization: The University of Texas at Austin, Austin TX
- Lines: 34
- Originator: shyam007@tramp.cc.utexas.edu
-
-
-
-
-
- I have been trying to use the TStreamable class of Borland's ObjectWindows
- and write the stream to a file. The class is derived multiply from
- TNSCollection and TStreamable classes. As required by decendents of
- TStreamable I defined the four operator overloading functions, read,
- write, build etc and registered the class using
-
-
- TStreamableClass RegClassname(....);
-
- But when I tried to write an instance of the above class to a file I have
- been getting an error saying
-
- PSTREAM ERROR CONDITION -- Type not Registered.
-
- The class I defined is very similar to the class TPointArray in the steps
- example of ObjectWindows. Can somebody help me get around this by suggesting
- probable error I might have committed.
-
- I have been working on this problem for a week now and have been unable to
- hack around it. It would also be very helpful if some kind soul could send
- me some source code which shows the usage of the above.
-
- Thanks in advance,
-
- -- Shyam
- ----------------------------------------------------------------------------
- Shyam Cherlopalle University of Texas at Austin
- email : shyam007@ccwf.cc.utexas.edu
- ----------------------------------------------------------------------------
-
-