Try this code:
programm_path = SYS(16,1) && If your application is EXE
IF .NOT. FILE("YOUREXE.EXE") .AND. "YOUREXE.EXE" $ programm_path
programm_path = LEFT(programm_path,AT("YOUREXE.EXE",programm_path)-1)
ELSE
programm_path = SYS(5)+CURDIR()
ENDIF
m_file = programm_path + "xxxxx.FLL"
SET LIBRARY TO (m_file)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.