Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2005 Oct : Exception handling in spawned threads
| Subject: | Exception handling in spawned threads |
| Posted by: | "Vivek" (rep.mov..@gmail.com) |
| Date: | 2 Oct 2005 02:45:34 |
Hi
Im using the Windows media player OCX in a delphi project, on opening some files, it causes an access violation in a different thread, and the program just vanishes.This crash is due to some DIVX decoder directshow filter dll which is called from the wmp dll and goes away if i install a different version
of divx
How can one handle this?
Im not concerned with the specific divx case, but rather generally how does one handle exceptions caused in a child thread.
Actually, Ive been on the other side of this problem too, In the win98 days I wrote a taskmanager which killed stuck processes by injecting a thread into them which simply did a divide by zero.
Now, much to my chagrin, my app is on the receiving end and Im at my wits end...
Somebody help!!
Regards
Vivek