home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c++:11513 comp.os.msdos.programmer:8064 alt.msdos.programmer:2066 comp.windows.ms:17994 comp.windows.ms.programmer:7354
- 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.os.msdos.programmer,alt.msdos.programmer,comp.windows.ms,comp.windows.ms.programmer
- Subject: BC 3.1 (owl) -- PStreamError -- Help !
- Message-ID: <76380@ut-emx.uucp>
- Date: 22 Jul 92 21:27:10 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: 33
- Originator: shyam007@doc.cc.utexas.edu
-
-
- Hi,
-
- I have been trying to use the TStreamable class of Borland's ObjectWindows
- and write a 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
- ----------------------------------------------------------------------------
-
-