Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC6
hi,i am learning vc++ can u please provide a code to capture a image taken by webcam(usb) using vc++ mfc's and that should be stored in an file.
such that later that file can be transfered to clients from server.
if not code tell me the site where the method calls available such that i will rectify my problem.
Posted 15-Feb-10 0:40am
sravu25376
Edited 16-Mar-10 5:17am
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

There is a sample called AMCap in the DirectShow samples of the Windows SDK that teaches you how it's done.
 
Download the Windows SDK here - Windows SDK[^]
 
AMCap is available in the following path - [SDK Install Directory]\ Samples\ Multimedia\ DirectShow\ Capture\ AmCap
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

There are number of articles on CodeProject for video capturing using DirectShow.
 
http://www.codeproject.com/KB/audio-video/#Audio & Video - DirectShow
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

you can do this using a framework (see above answers) or you can create a kernel mode driver.
 
Regards,
 
K,D.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 6,745
1 OriginalGriff 6,696
2 CPallini 5,315
3 George Jonsson 3,599
4 Gihan Liyanage 2,650


Advertise | Privacy | Mobile
Web01 | 2.8.140922.1 | Last Updated 10 Mar 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100