Jump to content
Sign in to follow this  

Javascipt/ActiveX Type Mismatch

Recommended Posts


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"
    width="5" height="5"> </OBJECT>
    <input type="button" name="Button" value="Button" onclick="doscan()" />
function doscan()

Delphi Function Declaration

procedure TScanX.scanRegions(const ref: widestring; no: integer; const path: widestring);

Thank you in advance


Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...