Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Type mismatch' was not handled

Status
Not open for further replies.

saw15

Technical User
Jan 24, 2001
468
US
Working with VI Enterprise edition.

I am calling a function from an ASP page, the function is located within a dll.

Function has 36 parameters, but only 17 are required. I am passing in the required 17 parameters, but cannot get pass the Type mismatch' was not handled error.

I have confirmed that the datatype being sent is the same type of data as declared by the function.

Anything I might be missing, looking for any suggestions that may be causing the error.

Thanks in Advance.
 
Saweens:

You may need to change from type variant to a subtype such as int or double using cint or cdbl before you pass your variables.

HTH

Parke
 
hi
either u can optional keyword for the parameters which are optional in the function in dll.
orSome times, Parameter values which u pass may be have Null values..

to easily fix the bug...it's better if u give ur code..

cheers
suresh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top