>David,
>
>Any idea why I get a empty string returned? The COM is a ATL written in C++ (it does some parsing and manipulation). I pass it a value and get an empty value in return. However, in VB 6.0 everthing works fine.
VFP retrieves (and passes) all values as Variants to COM objects and COM then performs the necessary data translations. If there's binary data in the BSTR it'll be stripped at a CHR(0)...
Other than that it should work fine - I have a number of ATL components I use regularily with VFP.
+++ Rick ---