>though the documentation on DECLARE-DLL doesn't include arrays as parameters which can be passed, does anyone have a method to do this.
>
>can you use a string parm by reference?
>
>tia
There were nice examples on UT. This is example how to send parameter by reference:
DECLARE INTEGER FindWindow in win32api INTEGER,STRING
DECLARE INTEGER GetWindowText in win32api INTEGER,STRING @lpsz,INTEGER
hnd=FindWindow(0,"Windows 3.1 SDK")
if hnd>0
=GetWindowTitle(hnd,@lpsz,4)
? lpsz
=GetWindowTitle(hnd,@lpsz,7)
? lpsz
endif
Edward Pikman
Independent Consultant