Article View: comp.windows.ms.programmer
Article #106BC 3.1 Object Windows- PStreamError--Type not registered
From: Shyam sundar P Cherlopalle
Date: Wed, 29 Jul 1992 05:32
Date: Wed, 29 Jul 1992 05:32
33 lines
1814 bytes
1814 bytes
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
----------------------------------------------------------------------------
Technical Details
Message-ID:
<76733@ut-emx.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu!shyam007Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu!shyam007 From: shyam007@ccwf.cc.utexas.edu (Shyam sundar P Cherlopalle) Newsgroups: comp.windows.ms.programmer Subject: BC 3.1 Object Windows- PStreamError--Type not registered Message-ID: <76733@ut-emx.uucp> Date: 29 Jul 92 05:32:53 GMT Sender: news@ut-emx.uucp Reply-To: shyam007@ccwf.cc.utexas.edu (Shyam sundar P Cherlopalle) Organization: The University of Texas at Austin, Austin TX Lines: 34 Originator: shyam007@tramp.cc.utexas.edu