|
the same document [^]says, "If the filter has only a capture pin, the Capture Graph Builder uses the Smart Tee filter to split the capture stream".
May be the capture filter has only one capture pin, check the hr, error code might be VFW_S_NOPREVIEWPIN.
|
|
|
|
|
I'll see the error code.
But it works as either preview or capture, but not them together. The cam is acer laptop web cam. I need something generic to capture and preview at the same time
chesnokov
|
|
|
|
|
yes, you need to check the error code, BTW, Graphedit tool can be used to check the graph building, may the intermediate and mux filters are not connecting in the second statement.
|
|
|
|
|
I planning to make Web Crowler / Robots / Spiders. Can you provide some sample codes / projects for the same.
|
|
|
|
|
You can ask here[^] with your keywords as input.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
no, we don't prodive code samples.
but can we help on specific questions though.
|
|
|
|
|
Why you cant prodive code for s(he) now s(he) can completes this project!
|
|
|
|
|
sumit.durg wrote: I planning to make ...
You're planning to make something or you're planning to download something that's been already done by someone else?
Why is that immediately after you have a plan to make a web crawler, you want sample code? What can you possibly do with it? Rename and sell? Have you analysed the requirements? Are they well defined at first? Do you have at least a vague design in your mind? Do you have a proper roadmap? Have you set your goal points?
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Its not like that, I need some algorithm / Logic. How it can be made.
|
|
|
|
|
There's a book titled,"Programming Bots, Spiders, and Intelligent Agents in Microsoft Visual C++" authored by David Pallmann that explains interfaces and has code examples.
|
|
|
|
|
Hi, i have a problem with an ActiveX Control that was developped in VS C++ 2005 using MFC. It works perfect in C++,VB, ActiveX Testcontainer. All events are fired proberbly (using FireEvent). Now we have to develop a program in Access 2000 and we need this control there. All methods work fine, but not a single event is fired in Access, not even a OnMouseMove event. Does anyone have similar experiences and possible solutions?
Thanks for any answer.
|
|
|
|
|
I am a newbie and this is my first program...
#include "stdafx.h"
#include "conio.h"
#include "stdio.h"
int _tmain(int argc, _TCHAR* argv[])
{
cout << "Hello!";
return 0;
}
But when I built, it thre follwong error...
<br />
Error 1 error C2065: 'cout' : undeclared identifier e:\visual programming\practices\test\test\test.cpp 11 test<br />
Mohsin Ali
|
|
|
|
|
cout is part of the std namespace, so either write std::cout or put a using namespace std on top of your file (after the header file inclusion).
Another point: conio.h and stdio.h are for C. If you are using cout (which is part of the C++ standard library), you should #include <iostream> instead.
|
|
|
|
|
Cout is declared in iostream header.
#include "iostream"
using namespace std;
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
mohsindeveloper wrote: #include "stdio.h"
Hint: Stdio.h is for C-Style input output routines. Can you guess what header has the prototypes for C++ style input output routines?
[Add: Oh my Gawd! Two people beat me to it already ]
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Add this header file
#include <iostream>
And also write cout as
std::cout<<"Hello!";
|
|
|
|
|
Yuppeee!!
Program has built.......
Now how can I run it.. i.e. I want to see the output of my program..
Mohsin Ali
|
|
|
|
|
Either add getche() before return statement and press F5.
or
Go to command prompt and run your program exe directly.
|
|
|
|
|
Error!!!
Error 1 error C3861: 'getche': identifier not found e:\visual programming\practices\test\test\test.cpp 13 test<br />
Mohsin Ali
|
|
|
|
|
to use getche() you will have to use #include <conio.h>
by the way you should choose second option.
|
|
|
|
|
Thx its done.............
Bingoo!
Mohsin Ali
modified on Tuesday, June 3, 2008 9:10 AM
|
|
|
|
|
|
Hi all,
I want to find the working mode of the Visual Studio 2003 at run time. I mean on a debug mode I want to use some commands on the console. But they are not allowed to use in release mode.
How can I do it.
Hope it's clear to you.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
CodingLover wrote: I mean on a debug mode I want to use some commands on the console. But they are not allowed to use in release mode.
#define DEBUG
. . .
#ifdef DEBUG
. . .
#endif
Now the code that you don't want to execute in the release mode goes in the above section.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|