mfc >> Active X Control locks window

by Carsten Schaudel » Fri, 24 Mar 2006 02:10:45 GMT

Hello,

I have the following problem: I have a Window with an ActiveX Control
(Logitec Camera Interface).
In addition I have a worker thread which accesses this control to aquire
single images from it and write it to a file (well - kind of a movie but it
must be in sync with other inputs so I use this way).

The problem I have now is that accessing the activeX controll seems to look
user-interaction with all other controls (buttons) on this window. So the
user even can't close the App.
At the same time, updating controls from the SW works fine and fast .

Any Idea how I can make shure that my buttons continue to work ??


Carsten




mfc >> Active X Control locks window

by Stuart Redmann » Fri, 24 Mar 2006 16:12:55 GMT





Sounds like the problem described in MSDN article 828643. I already
asked about this issue (what specifically does cause this blocking
behaviour), but nobody seems to know (or could find the energy to answer
:-(
What kind of apartments do your processes run in?

Regards,
Stuart



Similar Threads

1. Locks Cylinders Deadbolt Schlage, Medeco Mul-T-Locks, Baldwin Locks, Kwikset Locks, Mortise Locks, Dexter Locks

2. active x control that display an image on it window

3. Why Controls have focus and the window is not Active

hi..

Why is it so that the controls have the focus (i.e TEXT BOX), but the
window does not have the focus

Can any one explain me..

4. How to determine active edit control in Windows API

5. [BUG]VS.NET 2003/C# locks up and locks up windows shell when entering breakpoint

6. Active Directory Properties - Lock and Deactivate Account - CSharp/C#

7. DeleteCriticalSection and active locks

What will happen if I call DeleteCriticalSection
when there are another thread inside the the section ?

Will DeleteCriticalSection wait until the other thread
leaves the section ?

-------
Rafael Pivato


8. Problem with Active Accessibility and OLE lock count