local nEnv as long declare long LScreateEnvLng in 'lingd80.dll' declare long LSopenLogFileLng in 'lingd80.dll' (long pEnv, string cFile) nEnv = LSCreateEnvLng() && returns a long value as the handle nError = LSopenLogFileLng(nEnv, "c:\temp\file.log") && requires pointer>Please provide more details: what is the API function, pointer to what kind of data you need etc.
>DECLARE INTEGER GetWindowsDirectory IN kernel32; > STRING @lpBuffer, INTEGER nSize > >cBuffer = SPACE(250) >nResult = GetWindowsDirectory(@cBuffer, Len(cBuffer)) >cBuffer = Left(cBuffer, nResult) >? cBuffer >>