>lcFront = "C:\somefile.bmp" && some image file >lcFrontLen = CHR(LEN(lcFront)) >lcBack = "C:\someotherfile.bmp" >lcBackLen = CHR(LEN(lcBack)) >the same schema for lcCode & lcCodeLenI took it that you meant STR and not CHR.
>lnRetVal = BUICScan(lnJobType,lcCode,lcCodeLen,lcBack,lcBackLen,lcCode,; >lcCodeLen)tried it this way and with the '@' as they were in the original code.