Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing ASP Parameters to a VFP COM DLL
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00303820
Message ID:
00304436
Views:
26
Hi Gary:

That did the trick, using CLng took care of the "data type mismatch" within my DLL.

BTW, did you purchase any books that were helpful in using COM DLL's within a ASP? Any books on tricks of the trade?

Thanks a lot!!

Regards,

--Paul

>We come across this same problem in VB COM components. Remember that all variables in VBScript are Variants so their types can get whacked when passing them as parameters. Try wrapping your variables in the appropriate typecasting function. In your case try CLng(FirstNumber) and CLng(SecondNumber).
Previous
Reply
Map
View

Click here to load this message in the networking platform