Click here to Skip to main content
15,888,968 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSir,Regarding Dialog-based application in VC++ Pin
V.Natarajan16-Nov-05 5:14
V.Natarajan16-Nov-05 5:14 
AnswerRe: Sir,Regarding Dialog-based application in VC++ Pin
toxcct16-Nov-05 5:43
toxcct16-Nov-05 5:43 
QuestionRegarding Shipping of application developed in DirectX Pin
BlrBoy16-Nov-05 4:13
BlrBoy16-Nov-05 4:13 
AnswerRe: Regarding Shipping of application developed in DirectX Pin
douglasjordan16-Nov-05 17:20
douglasjordan16-Nov-05 17:20 
AnswerRe: Regarding Shipping of application developed in DirectX Pin
Cool Ju16-Nov-05 17:26
Cool Ju16-Nov-05 17:26 
QuestionMemory Managing Problem Pin
raed16-Nov-05 3:16
raed16-Nov-05 3:16 
AnswerRe: Memory Managing Problem Pin
James R. Twine16-Nov-05 7:24
James R. Twine16-Nov-05 7:24 
QuestionShowing capture webcam picture problem :( Pin
SimCom16-Nov-05 2:17
SimCom16-Nov-05 2:17 
Hello dear friends,

I've a problem in showing video captured from webcam Cry | :((
First I wanted to learn to do this by using the CAvicap, but it didn't work and I couldn't find anybody who can tell me what I did wrong.

So I was a bit desperate and searched another method and that was using the DirectShow of DirectX SDK. Well, I've still not coded, because I want to know how Directx and COM work.

But the main problem is still that I don't know how to display the video from the webcam on the screen. D'Oh! | :doh:

The part to show the video using webcam with the Avicap class is here:
<br />
void CCamSampDlg::OnStart() //when button start is clicked<br />
{				//than the previewing must begin<br />
	CRect rectangular;<br />
	GetClientRect(&rectangular);<br />
<br />
	// Here I try to display the imagestream<br />
<br />
	WebCam.Create(WS_CHILD|WS_VISIBLE,rectangular,this,TRUE);<br />
	WebCam.ConnectWithDriver(-1);<br />
	WebCam.SetPreviewRate(15);<br />
	WebCam.StartPreview(TRUE);<br />
	<br />
}<br />


The only thing wat happens when I execute, is the Led blinking of my webcam, wich means that there is some activity going on. But I see not a window opening to show the captured video. Sigh | :sigh:

So I hope you smart guys can help this dumb boy, so I can give my wife more attention :->
If you want the whole project, I can send it to you by email

If my application works, I forget all my problems.
Questiondebug dll with c# main program Pin
Fu Chen16-Nov-05 2:12
Fu Chen16-Nov-05 2:12 
Questionhow to hook all the windows of an application Pin
Elif Erkul16-Nov-05 1:46
Elif Erkul16-Nov-05 1:46 
AnswerRe: how to hook all the windows of an application Pin
James R. Twine16-Nov-05 8:03
James R. Twine16-Nov-05 8:03 
QuestionRe: how to hook all the windows of an application Pin
Elif Erkul17-Nov-05 2:28
Elif Erkul17-Nov-05 2:28 
QuestionNeed help in writting a transporter agent Pin
NastradamuS16-Nov-05 1:44
NastradamuS16-Nov-05 1:44 
AnswerRe: Need help in writting a transporter agent Pin
toxcct16-Nov-05 2:46
toxcct16-Nov-05 2:46 
QuestionWindow Painting Problem Pin
Nishad S16-Nov-05 1:32
Nishad S16-Nov-05 1:32 
AnswerRe: Window Painting Problem Pin
BlackDice16-Nov-05 8:02
BlackDice16-Nov-05 8:02 
GeneralRe: Window Painting Problem Pin
Nishad S16-Nov-05 17:12
Nishad S16-Nov-05 17:12 
QuestionProblems writting in a spesific font Pin
NastradamuS16-Nov-05 0:50
NastradamuS16-Nov-05 0:50 
AnswerRe: Problems writting in a spesific font Pin
*Dreamz16-Nov-05 1:41
*Dreamz16-Nov-05 1:41 
QuestionSetFolderImageList&amp;#65311; Pin
gzy900116-Nov-05 0:45
gzy900116-Nov-05 0:45 
Questionknow if the object is created or not Pin
Russell'16-Nov-05 0:29
Russell'16-Nov-05 0:29 
AnswerRe: know if the object is created or not Pin
Maximilien16-Nov-05 0:51
Maximilien16-Nov-05 0:51 
GeneralRe: know if the object is created or not Pin
Russell'16-Nov-05 1:46
Russell'16-Nov-05 1:46 
GeneralRe: know if the object is created or not Pin
Maximilien16-Nov-05 2:29
Maximilien16-Nov-05 2:29 
GeneralRe: know if the object is created or not Pin
Russell'16-Nov-05 3:45
Russell'16-Nov-05 3:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.