Com object calling process and bstr processing
Posted on 1998-12-04
I have a comm object and a client program that I am working on. The com object has a method that has a BSTR* parameter and returns a BSTR* pointer.
1. Suppose the name of the method is Reverse, what would the calling sequence be in the client program. The client program is going to pass a CString object and is expecting to store the value in a CString object when it is returned.
2. In the com object how would one go about looping through and getting and setting individual characters in the string ?
P.S. More points to be awarded when I get the answer.