Hi
I have created a VFP MT COM dll which has one method:
ParseResponse(tcTxt As String) As String
Now I want to know the difference between declaring it as string vs declaring it as character?
When I create the COM object from using CoCreateInstance I get a valid COM object and and call the Release method etc. but when I try to received the return value I get a memory error so I am trying to understand what the VFP COM object is returning. The VFP code just returns a string of up to as many 512 characters. What does COM do to that string and what format is it actually a string or is it just a pointer to a buffer?
Thanks,
Simon
Simon White
dCipher Computing