I have created an ActiveX control to work from IE. My aim is to create
a new window (mainframe) from the control and do my job there.
Everything goes fine and I have created the mainframe and added some
splitters and all those stuff.
On one command, I have to create a new worker thread and fetch data
from server. Then I have to display that data using another ActiveX
control on the mainframe (which is also mine). When I launch my
application, my mainframe displays correctly. But, when I click on the
Test Container, my application crashes.
Upon investigation, I realized that, the crash is from the worker
thread. Problem is while invoking my viewer control from thread. All
pointers got disturbed and the m_hWnd of the control is 0xfeefee,
which is causing the problem. This is happening only when I change
focus to Test Container. The same kind of behavior is there when I
launch my control my IE. If I click on the IE window, my main ActiveX
crashes.
Any ideas why this is happening? Any help is greatly appreciated.
Thanks in advance,
KVRN Kiran Kumar.
Any clues?