What datatype to pass to C-function

…when a string buffer is expected?

Hi there,

I need to call a C-function in order to retrieve a status-message. The function expects a (reference to a) string buffer. I tried it w/ using datatype string (initialized w/ lots of blanks), but I didn’t get any message.

Do I have to use a special data-type?

Thanks in advance,

Buzzy

Subject: What datatype to pass to C-function…

You are right to initialize the String to create storage space. Pass it Byval (oddly), and LotusScript does the right thing.