How To Implement Array Arguments in Visual C++ COM Objects for Active Server Pages (218454)
The information in this article applies to:
- Microsoft Active Server Pages
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Internet Information Server 4.0
- Microsoft Internet Information Server 5.0
This article was previously published under Q218454 SUMMARY
This article describes, by example, how to implement arrays to be passed as
parameters from Active Server Pages (ASP) to a Visual C++ COM Object.
It is important to keep in mind that array arguments for methods must be declared as variant data type and must the passed by reference. Declaring an array argument any other way may cause an error, such as the following:
error 'ASP 0115' - A trappable error occured in an external object
Invalid procedure call or argument
Type Mismatch
Object Does not Support This property or method
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbASPObj kbCodeSnippet kberrmsg kbhowto KB218454 |
---|
|