Hi!
I have made an ATL ActiveX Control for use in Pocket IE. I used the
ATL wizard in eVC++ 3.0 to make a "Full Control". I have implemented
IObjectSafty and the following works:
<script language="jscript" id="q">
var obj = new ActiveXObject("Test.Lite");
obj.TestMethod();
</script>
But when I try to create the object using a OBJECT-tag I run into
problems. Pocket IE stops executing at the OBJECT tag with no error
message.
<object CLASSID="clsid:F24D35F0-65CA-4509-9F93-D2EAED48771E" ID=obj>
</object>
<script language="jscript" id="q">
obj.TestMethod();
window.alert("Hello world!");
</script>
In the above case TestMethod() is not exceuted nor is the "Hello
world!" message displayed.
Has anyone had this problem and solved it?
Regards,
Johan