markdradey Posted July 23, 2014 Share Posted July 23, 2014 Hi, I am using a activex written in Delphi and am trying to access it from Internet Explorer. When I try to access the function I am getting type mismatch error. Javascipt/HTML Code: <OBJECT id="AScan" name="AScan" classid="clsid:61EC4ECB-81B6-4309-B7B5-8F7755830EEF" codebase="ScanProj.cab#version=1,0,17,1" width="5" height="5"> </OBJECT> <input type="button" name="Button" value="Button" onclick="doscan()" /> <script> function doscan() { AScan.scanRegions("1234",1,"test.jpg"); } </script> Delphi Function Declaration procedure TScanX.scanRegions(const ref: widestring; no: integer; const path: widestring); Thank you in advance Mark Link to comment Share on other sites More sharing options...
Richard Robertson Posted July 28, 2014 Share Posted July 28, 2014 This forum is for using the AutoIt software and your post has nothing to do with it. You may not get the help you need here and are better off looking in a dedicated web development or Delphi forum. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now