Re: I need help debugging an MFC OCX
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Thu, 19 Jan 2006 15:15:15 -0800
Most likely (note I don't use MFC myuself) this is part of MFC's
persistence code (IPeristXXX interfaces), e.g. the data is coming
from the persistent representation fo yuor control. Only its container
knows where that is stored (the control doesn't need to know and
shouldn't care).
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"HummingBert" <JoeGoogol@xxxxxxxxx> wrote in message
news:1137691038.185470.245600@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I am having problems with the following piece of code.
>
> void CFlintCtrl::DoPropExchange(CPropExchange* pPX)
> {
> ExchangeVersion(pPX, MAKELONG(_wVerMinor, _wVerMajor));
> COleControl::DoPropExchange(pPX);
>
> PX_Bool(pPX, _T("ReadAhead"), m_bReadAhead, FALSE);
> }
>
>
> This routine is called by the framework and always sets m_bReadAhead to
> TRUE. Correct me if I am wrong, but my understanding of the purpose of
> this code is that it is supposed to deserialize a stream containing the
> property values of the OLE object for the sake of persistence.
>
> Where does this stream come from? If a disk file or a registry entry,
> what would it be called?
>
> The m_bReadAhead property currently defaults to FALSE, but in previous
> builds of the OCX, it used to default to TRUE, do it is being more
> persistent than I would like. When does the value of the property get
> put into persistent storage?
>
> My apologies if the question is either too esoteric or too naive, but I
> am desperate.
>
.
- References:
- I need help debugging an MFC OCX
- From: HummingBert
- I need help debugging an MFC OCX
- Prev by Date: Re: exposing interfaces
- Next by Date: Re: Keep UI working without COM object being started
- Previous by thread: I need help debugging an MFC OCX
- Index(es):
Relevant Pages
|