Hi,
I have uploaded a stable version of the 2.0. Please make sure to read
the ChangeLog.txt. As many changes have been implemented in regard to
protocol handlers and other functionalities. For example, now the
protocol handlers are activated by default (StartHTTPAPP,
StopHTTPAPP,... methods have been removed), AppControl demo project
has been modified, etc.
Download page:
http://code.google.com/p/csexwb2/downloads/list
Note:
For a while I have been attempting to find an effecient way of
monitoring a page changes via scripts (AJAX,...) after top level
document has loaded. This meant finding out when a script has started
execution and when it stops. Although it is possible to acheive this
by using protocol handler Begintransaction and Onresponse events, it
is not a full proof method. Finally, I have come to the conclution
that in order to acheive this functionality, one needs to act as a
passthrough in regard to the script engine. And to get to the script
engine, one needs to obtain the instance of IActiveScript interface
from webbrowser control.
I have tried to obtain the instance of IActiveScript interface from
webbrowser control to no avail. I did try queryinterface webbrowser
control IUnknown, Queryservice webbrowser control service provider,
and simillar actions in regard to the document object. I even posted a
message in MS news groups. So, if anyone can find out how to get
instance of IActiveScript interface, then we can setup a passthrough
to monitor script engine activities.
Regards,
MH