Call to c_func() short-circuited

new topic     » topic index » view thread      » older message » newer message

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.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu