Capture Images from a Webcam?

Blitz3D Forums/Blitz3D Programming/Capture Images from a Webcam?

I've got voice recording in my game thanks to some code I found on here, now I wonder if I can capture images from a webcam using a windows DLL. Is this possible? I don't need moving images but obviously the ability to provide a live preview would be very useful.

I emailed you the dll and userlib I have...

http://www.blitzbasic.com/Community/posts.php?topic=27007

Panno... the http://www.napalm.de/webcamdll/webcamdll.rar link appears different... I looked all over the site (Now keep in mind I do not speak german very well) but I didn't see it.

I used the sites SEARCH feature and looked for webcam and only got the result of VAMPIRE THE MASQUERADE.

Is the file still on the site in the folder?

-RZ

LAB[au], my email was incorrect in my profile. It's fixed now could you re-send?

Thanks.

Panno's link doesn't work for me either. So near...

http://members.tripod.com/BLITZPANNO/

newdll in webcam2.zip

Many thanks Panno, I'll post my results.

Edit: Any chance of some source code? That .exe works but it crashes when I close the window.

use esc to unload the dll

Ahh, that does it. But what if you write a windows app and someone closes it?

Can you post the source code? I've no idea how to use the DLL.

Cheers.

use BlitzClose Dll ?

http://www.blitzbasic.com/Community/posts.php?topic=44032