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

C / C++ / MFC

 
GeneralRe: Tray Icon Menu Command handling in MFC Pin
pritamkd23-Sep-05 3:59
pritamkd23-Sep-05 3:59 
QuestionEdit Box, not able to read Pin
tejaswi-teja22-Sep-05 4:53
tejaswi-teja22-Sep-05 4:53 
AnswerRe: Edit Box, not able to read Pin
Laffis22-Sep-05 5:46
Laffis22-Sep-05 5:46 
AnswerRe: Edit Box, not able to read Pin
Eytukan22-Sep-05 6:42
Eytukan22-Sep-05 6:42 
AnswerRe: Edit Box, not able to read Pin
David Crow22-Sep-05 7:15
David Crow22-Sep-05 7:15 
GeneralRe: Edit Box, not able to read Pin
22-Sep-05 21:23
suss22-Sep-05 21:23 
GeneralRe: Edit Box, not able to read Pin
David Crow23-Sep-05 3:53
David Crow23-Sep-05 3:53 
QuestionProblem with webcam image capture Pin
SimCom22-Sep-05 4:47
SimCom22-Sep-05 4:47 
Hello best programmers,

I coded an application wich can display imagestream from a simple webcam. I found a good class (I guess) for capturing AVI from webcam to perform several functions etc... I found it here in Codeproject, some Russian dude encapsulated the functions of VFW class.

Anyway, I tried to find a lot of useful information how to capture from webcam, but unfortunatly I found only descriptions of wich functions it has.
And believe me there is a lot of functions, and a lot os useless functions for me.

What I tried to do is making a simple dialogbox with a startbutton, when you click on start, the webcam is turned on and you'll see yourself on the dialogbox.

I coded it as follows:

void CCamSampDlg::OnStart()
{
CRect rect; // Here I try to display the imagestream

WebCam.Create(WS_CHILD|WS_VISIBLE|WS_CLIPSIBLINGS,rect,this,TRUE);
WebCam.ConnectWithDriver(-1);
WebCam.SetPreviewRate(100);
WebCam.StartPreview(TRUE);

}

It's actually very easy, but the PROBLEM is, when you click on start, the camera turns on (cause I see the activation LED blinking), but it shows nothing on the dialogbox. So I think there something missing in the part of Create-function.

Can somebody please help me??
Thank you very very much!!!

If my application works, I forget all my problems.
AnswerRe: Problem with webcam image capture Pin
SimCom22-Sep-05 11:21
SimCom22-Sep-05 11:21 
QuestionHow to remove Host Protected Area (HPA) on ATA Hard Disk in Windows????? Pin
nagamohan_p22-Sep-05 4:44
nagamohan_p22-Sep-05 4:44 
QuestionSaving PIDL to disk / registry Pin
Skute22-Sep-05 4:29
Skute22-Sep-05 4:29 
AnswerRe: Saving PIDL to disk / registry Pin
David Crow22-Sep-05 4:39
David Crow22-Sep-05 4:39 
GeneralRe: Saving PIDL to disk / registry Pin
Eytukan22-Sep-05 6:55
Eytukan22-Sep-05 6:55 
GeneralRe: Saving PIDL to disk / registry Pin
David Crow22-Sep-05 7:28
David Crow22-Sep-05 7:28 
QuestionNo Debug Info Pin
sweep12322-Sep-05 3:32
sweep12322-Sep-05 3:32 
AnswerRe: No Debug Info Pin
David Crow22-Sep-05 4:13
David Crow22-Sep-05 4:13 
Questionhow can I obtain data bits excluding header of an jpeg Pin
Kenan Aksoy22-Sep-05 2:50
Kenan Aksoy22-Sep-05 2:50 
AnswerRe: how can I obtain data bits excluding header of an jpeg Pin
Chris Losinger22-Sep-05 3:50
professionalChris Losinger22-Sep-05 3:50 
Questionabs() function is wierd Pin
Adrian Metcalfe22-Sep-05 2:44
Adrian Metcalfe22-Sep-05 2:44 
AnswerRe: abs() function is wierd Pin
David Crow22-Sep-05 2:50
David Crow22-Sep-05 2:50 
GeneralRe: abs() function is wierd Pin
Adrian Metcalfe22-Sep-05 3:02
Adrian Metcalfe22-Sep-05 3:02 
AnswerRe: abs() function is wierd Pin
Cedric Moonen22-Sep-05 2:52
Cedric Moonen22-Sep-05 2:52 
GeneralRe: abs() function is wierd Pin
Adrian Metcalfe22-Sep-05 3:04
Adrian Metcalfe22-Sep-05 3:04 
AnswerRe: abs() function is wierd Pin
Adrian Metcalfe22-Sep-05 3:12
Adrian Metcalfe22-Sep-05 3:12 
AnswerRe: abs() function is wierd Pin
toxcct22-Sep-05 3:31
toxcct22-Sep-05 3:31 

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.