Lack of streams.h solutions and DirectShow development environment (turn)

Source: Internet
Author: User

These days learning the development of DirectShow, a streams.h header file toss all day to finish. A brief summary of the emergence of a lack of streams.h solutions and DirectShow development environment.

For the development package, I'm using the Vc2005+windows Server 2003 SP1 SDK. Microsoft is a real nerve to take DirectShow out of DirectX again. This is not a flirt with our programmers ...

Streams.h This header file is now under the%platform SDK root%/samples/multimedia/directshow/baseclasses path, first to add this path to VC's include Directories below.

The most I ft is the DirectShow of the library, I really do not know m$ is not the brain is broken, the library incredibly to compile their own. At first I turned over the hard drive also did not find strmbasd.lib, finally in the BaseClasses directory to see a makefile, just know what is going on. Pull it off, stop. Open the command line Debug build environment of the SDK and enter the%platform SDK root%/samples/multimedia/directshow/baseclasses directory, Apart nmake, generating a xp32_debug directory (I chose the set Windows XP 32-bit build Environment (DEBUG)), Strmbasd.lib impressively in the eye, this is the debug version of the library, retail version of the same, the resulting library in the Xp32_retail directory, named Strmbase.lib.

Because the library has two, corresponding to debug and release, you can copy it to the SDK in the Lib directory, and then in the Project debug settings and release settings to set the name of the library can be, of course, can not cuff, how to use whatever you want.


Article Source: http://www.diybl.com/course/3_program/c++/cppsl/2008419/110646.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.