Hi Slow week again :( but I got this one function done. I haven't changed the return type but I'm sure it's not right. It's given as void|object but I can't see how it would ever not return anything. If the video device is uninitialized, Pike returns 0 (the original C function returns NULL). Wouldn't that be a special type of (null) object rather than void? Thanks & regards, larcky.