-5 means file not found or unable to open file. You need to pass a fully qualified filename (path+filename+extension) in order to read the file.
Ex. 'D:\Issue 070300\201-300\DTest_OrdRtn201-220\ALayerFile.dlf'
0 = file has been read.
-4 = corrupted layer file.
Ex. 'D:\Issue 070300\201-300\DTest_OrdRtn201-220\ALayerFile.dlf'
0 = file has been read.
-4 = corrupted layer file.
Devinder S Verman
DATACAD LLC
DATACAD LLC