Qbasicnews.com

Full Version: QB uses WEBCAM
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Is this possible, can qb use a webcam ???? i need help for this project


Es posible, puede qb usar la webcam???? necesito ayuda para este proyecto




Thanks
No, absolutely NO.

It is of course possible(nothing is impossible right?), but it would be extremely hard to program (I think you'd need asm for this)

Some difficulties you'd need to over come -to use USB port in qb -never even heard of it. But you can try, if it works send me the code too...
Might get it to work by something like this (although it would be extremely slow output):
1) write a program in some programming language (probably a Windows one) that can deal with USB ports.
2) write your QB program which uses SHELL to access the other program to activate it.
3) the other program exports each frame of webcam output to an image on disk.
4) the QB program gets those images and displays them in rapid succession.
Again, very chunky and slow. Smile
Yeah. The main prob is that QB can't access the USB ports (they were introduced more than 10 years after QB was released Tongue), so all the solutions need a Windows slave, like Zack suggested.
It could be done with asm, however it would take some knowledge- I ain't got it unfortunately.
Quote:It could be done with asm, however it would take some knowledge- I ain't got it unfortunately.
I am not positive but I do not believe that MSDOS Assembly can access USB ports either.
Sure it's possible. If you can't do it in assembly you can't do it. And, I think, there's no such thing as MSDOS Assembly, it's 8086 assembly or 80286 assembly etc.
You cannot access the USB ports in realmode DOS. Something about USB having its BIOS above the 1MB point. You can do it in protected mode DOS but it's not really worth it at this point...there are companies who sell USB device drivers for DOS but they're horribly expensive.

So unless you've got a parallel cable camera, the answer is no.
Quote:You cannot access the USB ports in realmode DOS. Something about USB having its BIOS above the 1MB point. You can do it in protected mode DOS but it's not really worth it at this point...there are companies who sell USB device drivers for DOS but they're horribly expensive.

So unless you've got a parallel cable camera, the answer is no.
A.k.a. using assembly in MSDOS, no webcam, correct?
On every level this guy needs it, yes, you can't use assembly to get the webcam. Real mode is a major limitation of both DOS and QB. Your time would be better spent using a real webcam program and converting it to a popular image format if you ever need pictures or something in qb..
Pages: 1 2