My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
ConfiguringLogging  
Configuring the plugin to send logs to a special HTML element
Updated Dec 29, 2011 by leeor.ah...@gmail.com

Example HTML:

<div><span id='log'></span></div> 

<OBJECT TYPE="application/x-itst-activex" id="control" logger="logger" debugLevel="5" height="0" width="0" clsid="{...whatever...}" ></OBJECT> 

<script type="text/javascript"> 
        function logger(msg) { 
                document.getElementById('log').innerHTML += msg + '<br/>'; 
        } 
</script>

The above example will call the logger function with each logging message from the plugin, and it will add the new message to the 'log' span.

Comment by aginda...@gmail.com, Jun 18, 2012

I got and error log like below :

AxHost.TestAuthorization: returning True
AxHost.verifyClsID: verified successfully
AxHost.setClsID: CLSID {592DAB88-3F40-41CA-BD50-D3E3C4F51504} set
AxHost.NPP_New: debug level set to 5
AxHost.CreateControl: control created successfully
AxHost.AddEventHandler: GetIDsOfNames failed to resolve event name

"AxHost?.AddEventHandler?: GetIDsOfNames failed to resolve event name", what should i do with my control...

Powered by Google Project Hosting