I need help debugging an MFC OCX



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.

.



Relevant Pages

  • Re: About capture stream data in bda
    ... >> I have studied the ddk samples and it seems to use stream pointer to ... >> transmit the data in routine 'Process'. ... my driver is a pin-centric minidriver. ... >>> where could I capture the stream from device. ...
    (microsoft.public.development.device.drivers)
  • Need help writing coroutine
    ... emits chunks in pieces. ... The other routine takes each chunk, ... it can make a copy of the stream with the score appended on. ... def is_odd: ...
    (comp.lang.python)
  • Re: Binary serialization
    ... Previously I would use a file write routine that worked ... DATA members from the class in question the method of writing each ... the base class where you collect the data in to a byte array which is ... then written to the stream by the base class. ...
    (microsoft.public.dotnet.general)
  • Re: Binary or Ascii Text?
    ... interactive scanf and other routines, because the C stream is never ... sure whether the field terminating char has been used or is still ... some other input routine and doesn't have the discipline to define ...
    (comp.lang.c)
  • Re: Is there any iterator-like constructs for Streams?
    ... > IEnumerator and IEnumerable interfaces which allow for more then one ... > in the framework that wraps a stream in such a way that the stream position ... don't believe it's provided in the framework. ...
    (microsoft.public.dotnet.languages.csharp)