I notice that if i set the put_onerror once the page is loaded it catches errors in some way (but doing this i miss any error in javascript when loading page, that is the most usuall), the IDispatch_Invoke get called itself but as *pDispParams\cArgs = 3 then get procedurereturn #DISP_E_BADPARAMCOUNT and never reach the function.
Why? Any help are welcome.
Is possible to set onerror when loeading to catch any initial error from loading javascript?