I need help debugging an MFC OCX
- From: "HummingBert" <JoeGoogol@xxxxxxxxx>
- Date: 19 Jan 2006 09:17:18 -0800
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.
.
- Follow-Ups:
- Re: I need help debugging an MFC OCX
- From: Alexander Nickolov
- Re: I need help debugging an MFC OCX
- Prev by Date: Re: CLSI sintax
- Next by Date: Re: CLSI sintax
- Previous by thread: Re: About VB Function
- Next by thread: Re: I need help debugging an MFC OCX
- Index(es):
Relevant Pages
|