|
-
May 9th, 1999, 10:10 AM
#1
How can I serialize a CFont object?
I want to use a CArchive to serialize a CFont object, but this line got an Assertion:
*pOutArc << &sp.m_Font;
and this line got an compiler error:
*pInArc >> &sp.m_Font;
The error message was:
error C2679: binary '>>' : no operator defined which takes a right-hand operand of type 'class CFont *' (or there is no acceptable conversion)
What's the matter? Could you help me?
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|