Problems Passing Channel Data

New Message Reply Date view Thread view Subject view Author view

Russell Suter (russell++at++symsystems.com)
Thu, 09 Sep 1999 10:31:50 -0600


Hello,

I'm trying to pass data to my Draw Process and I'm using pfPassChanData
to do it. It seems like a nice interface to get data to the
DrawCallBack.
The problem I'm having is that it appears that the data is not being
copied
on the first call to pfFrame. I also get different behavior if I use
pfChanData vs. pfAllocChanData. pfAllocChanData called in my App
process gives a strange pointer in the Draw process the first frame.
Subsequent frames seem fine. Using pfChanData in the App process
seems to give the App pointer to the Draw process the first frame.

Is there some reason why it doesn't work right the first frame? The man

pages don't indicate that the first frame is somehow special with
regards
to Channel Data. What I would like to have the pointer correct in the
Draw process at the point where the Window is created. Can this be
done? I'd rather not write any flag logic to figure out if it's the
first
frame...

Russ


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Sep 09 1999 - 09:32:39 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.