I have this data type
01 aCharArray object reference.It's VT-BSTR. How to pass it to standard PIC X(n) variable?
#nativecobol
I have this data type
01 aCharArray object reference.It's VT-BSTR. How to pass it to standard PIC X(n) variable?
I have this data type
01 aCharArray object reference.It's VT-BSTR. How to pass it to standard PIC X(n) variable?
I have this data type
01 aCharArray object reference.It's VT-BSTR. How to pass it to standard PIC X(n) variable?
In what way are you using this VT-BSTR? Are you passing it to a non-COBOL COM object? Normally you can just define these as standard COBOL PIC X fields and they will automatically be converted to BSTR by the run-time system when passing to a COM object and will be converted back to PIC X upon return.
A real simple example of how to convert between a CharArray type and a PIC X:
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.