>Hi all,
>
>I want to use an API which is explicitly written for VB. This API takes a string parameter passed by reference as argument.
>
>All other API's explicitly written for VB which do not take strings as argument succeed.
>
>By testing with other API's I came to the conclusion these api's failed because of that the stringformat of the parameter
>
>I know that VB uses an other stringformat (BSTR) than VFP (?)
>
>How do I solve this problem ??
>
>Regards, Walter
Walter,
First I would try to pass string by ref. :
lcString = "myString"
myAPICall(@lcString)
Cetin