Call to c_func() short-circuited
- Posted by alrobnett Dec 17, 2018
- 1461 views
Error message says bad routine number (-1)
Attempting to use
function Read_File(atom hfile, atom lpBuffer, atom nNumberOfBytesToRead) return c_func(Read_File_id, {lpBuffer, nNumberOfBytesToRead, lpNumberOfBytesRead,0} ) end function
Error message also says:
c_proc/c_func: bad routine number (-1)
see ex.err
Warning: .... call to c_func() might be short-circuited.
As an (84 year-old) electrical engineer, I know quite well what the word "short-circuited" means, but I have no idea what it means in this context.