The parameters of an external procedure are marshaled out of the NGWS Runtime using the default NGWS Runtime data type marshalling rules, with one exception. Value String
parameters are by default marshaled to the Automation BSTR type rather than a LPSTR. Also, the value is marshaled by reference, so changes to the string in the external procedure are reflected in the argument passed, even though the parameter is declared as being a value parameter. Reference String
parameters are marshaled to a pointer to a Automation BSTR rather than a pointer to a LPSTR.