03-20-2013, 03:11 PM
C# string type is BSTR type in QM. Only few QM functions support BSTR directly. In other cases assign to a str variable.
BSTR b
str s=b ;;OK
out b ;;OK
out "%s" b ;;error
out F"{b}" ;;error
Similarly, C# object type is VARIANT type in QM. Assign to str, int etc.
If in QM the COM interface variable type is IDispatch, all COM functions will return VARIANT.
BSTR b
str s=b ;;OK
out b ;;OK
out "%s" b ;;error
out F"{b}" ;;error
Similarly, C# object type is VARIANT type in QM. Assign to str, int etc.
If in QM the COM interface variable type is IDispatch, all COM functions will return VARIANT.