window repaint makes video window spawn dozens of threads

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi

I've a mixed Delphi / C++ app with the delphi GUI code interfacing to
a C++ DLL doing all the directshow / DES stuff.

I have a Static Text control to serve as a parent window for the video
window.

After the graph(s) are built, Whenever I restore or maximize the
application when the video is paused or stopped, i get a lot of
messages in the debugger output window about threads exiting (30 of
them).I do believe this happen in non delphi apps too, but its a long
time since i made a UI in VC++ and cant verify.

Is this normal?

It seems to happen certain times when the surrounding UI is being
painted too, that leads me to believe its something related to
WM_PAINT. This causes a lag in the mouse response.

Anyone have an idea how to avoid this?

Regards
Vivek

.



Relevant Pages

  • Re: fsStayOnTop (D6 Enterprise)
    ... The Delphi version is in the subject line. ... There are only two special things about the window: ... fsStayOnTop set in the properties dialog. ... All is well in the app, but when I run other apps, the little ...
    (borland.public.delphi.language.objectpascal)
  • Re: Setting up a TMessage trap
    ... It needs to be in a DLL and to send notices back to your own ... of your main window. ... memory segment to hold the handle of your app. ... delphi isn't able to create a DLL with a shared ...
    (comp.lang.pascal.delphi.misc)
  • Re: Hiding when Minimized?
    ... > But when I minimize it I want it to be hidden like any other app. ... My Delphi applications minimize just like other Windows ... apps - the window disappears. ... Home of Chuck's Poker Libraries for Delphi, ...
    (alt.comp.lang.borland-delphi)
  • Re: Hiding when Minimized?
    ... Dave Kerr wrote: ... How do you hide that little tiny window that stays on the desktop when you minimize a Delphi app? ...
    (alt.comp.lang.borland-delphi)
  • WIA video
    ... I'm trying to use WiaVideo 1.0 Type Library COM object from DELPHI ... and still encoutering problems with TWiaVideo.CreateVideoByWiaDevID ... I can't make the preview video to appear in any control of my ... it always opens in new window with name "ActiveMovie ...
    (comp.lang.pascal.delphi.misc)