When starting preview on a window with the
WS_EX_LAYERED style (see the SetWindowLong API)
causes the computer to reboot without properly shutting
down. When the computer starts up again, it writes the
Event Log entry:
The computer has rebooted from a bugcheck. The
bugcheck was: 0x1000008e (0xc0000005, 0xbf866bf3,
0xf3b60c78, 0x00000000). A dump was saved in:
D:\WINDOWS\Minidump\Mini123103-01.dmp.
Our project is in C% using PInvoke to access
DirectShow. We are using the Opacity property on the
form to hide it until it fully loads. When we start the
video preview, the form is fully opaque but still has the
WS_EX_LAYERED style set. We can manually clear this
style with SetWindowLong and everything works
correctly.
WinXP + SP1
AverMedia Ultra TV - Conexant Fusion 878a
BTWinCap 5.3.6-1
Brian
mportobello@hotmail.com
http://www.codeproject.com/cs/media/directxcapture.as
p