in my application i'm having a method in which i make a thread and then i have to fire an event to my vb client but that i can do in two ways
1>i can post a message from secondary thread receive it in primary thread and foire the event from there.
2>i can directly fire event from secondary thread.

first scenario works properly but when i use second ,event is properly fired but if i put a break point at vb side(at event function) then it hangs.if i don't put any break point then it works fine here also.


i don't know why please help me