I want to pass a list of alarm names from COM to VBScript used in ASP pages. If the method name is GetAlarms
, What would be the signature of the method?. The number of alarms returned by GetAlarms
will vary.
Does VBScrip support Safe Array?
I want to pass a list of alarm names from COM to VBScript used in ASP pages. If the method name is GetAlarms
, What would be the signature of the method?. The number of alarms returned by GetAlarms
will vary.
Does VBScrip support Safe Array?
The declaration in the *.idl file would look like this:
The corresponding C++ method would look like this:
And finally, here is a sample VBScript that uses the above method:
In ASP, of course, you would use something else instead of
MsgBox
.