<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cai Song &#187; sdk</title>
	<atom:link href="http://caisong.com/tag/sdk/feed" rel="self" type="application/rss+xml" />
	<link>http://caisong.com</link>
	<description>个人小博客</description>
	<lastBuildDate>Sun, 31 Jul 2011 13:40:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Windows 序列号察看器</title>
		<link>http://caisong.com/361</link>
		<comments>http://caisong.com/361#comments</comments>
		<pubDate>Sat, 14 Oct 2006 19:14:27 +0000</pubDate>
		<dc:creator>song</dc:creator>
				<category><![CDATA[sdk]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[序列号]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[[file]attachment/1160824309.rar[/file]用此工具即可察看你WIN使用的序列号]]></description>
			<content:encoded><![CDATA[<p>[file]attachment/1160824309.rar[/file]<br/>用此工具即可察看你WIN使用的序列号</p>
]]></content:encoded>
			<wfw:commentRss>http://caisong.com/361/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Directx SDK 下载</title>
		<link>http://caisong.com/360</link>
		<comments>http://caisong.com/360#comments</comments>
		<pubDate>Mon, 09 Oct 2006 22:08:42 +0000</pubDate>
		<dc:creator>song</dc:creator>
				<category><![CDATA[directshow]]></category>
		<category><![CDATA[directx]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[http://msdn.microsoft.com/directx/sdk/系统增强http://download.microsoft.com/download/8/0/e/80ebbf72-fc51-4799-a2f4-7fcca37b8bb3/dx9sdk.exe包含DirectShow的下载http://download.microsoft.com/download/b/6/a/b6ab32f3-39e8-4096-9445-d38e6675de85/dx90bsdk.exe配置DirectShow的VC开发环境－－－－－－－－－－－－－－－－－－－－－－－－－－－DirectShow开发环境关键词： 环境配置 &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;http://mercredi.bokee.com/3057881.html1，使用VC向导生成一个具体项目，如Win32 Dynamic-Link；2，包含头文件streams.h；3，在VC的菜单中选择Project&#124;Settings&#124;C/C++，在弹出的对话框中的Category中选择Code generation，然后在Calling convention中选择_stdcall；4，使用多线程语言运行时库，即在VC的菜单中选择Project&#124;Settings&#124;C/C++，在弹出的对话框中的Category中选择Code generation，然后在Use run-time library中，Debug版选择Debug Multithreaded，Release版选择Multithreaded。5，配置必要的链接库文件，即在VC的菜单中选择Project&#124;Settings&#124;Link，在弹出的对话框中的Category中选择General，然后在Object/library modules中输入如下代码： &#160; &#160;Debug版本 &#160; strmbasd.lib, msvcrtd.lib, winmm.lib &#160; &#160;Release版本 strmbase.lib, msvcrt.lib, winmm.lib并且选中Ignore all default libraries。DirectShow SDK建议，DirectShow应用程序应该至少连接库文件strmiids.lib和quartz.lib。前者定义了DirectShow标准的CLSID和IID，后者定义了导出函数AMGetErrorText（如果应用程序中没有使用到这个函数，也可以不连接这个库）。如果程序里包含了头文件streams.h，则一般库文件还要连接strmbasd.lib、uuid.lib、winmm.lib。6，将DirectX SDK的Include和Lib目录配置到VC的系统目录中去，并且放在标准的VC目录之前，以保证编译器能够拿到最新版本的源文件。选择Tools&#124;Options&#124;Directories，在弹出的对话框中的Show directories for中选择Include files，配置如下（假设DirectX SDK安装在D:&#92;DXSDK目录下，VC安装在C:&#92;Program Files下）： &#160; &#160;D:&#92;DXSDK&#92;Include &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>http://msdn.microsoft.com/directx/sdk/<br/><br/>系统增强<br/>http://download.microsoft.com/download/8/0/e/80ebbf72-fc51-4799-a2f4-7fcca37b8bb3/dx9sdk.exe<br/><br/>包含DirectShow的下载<br/>http://download.microsoft.com/download/b/6/a/b6ab32f3-39e8-4096-9445-d38e6675de85/dx90bsdk.exe<br/><br/><br/>配置DirectShow的VC开发环境<br/>－－－－－－－－－－－－－－－－－－－－－－－－－－－<br/>DirectShow开发环境<br/>关键词： 环境配置 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span id="more-360"></span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br/>http://mercredi.bokee.com/3057881.html<br/>1，使用VC向导生成一个具体项目，如Win32 Dynamic-Link；<br/><br/>2，包含头文件streams.h；<br/><br/>3，在VC的菜单中选择Project&#124;Settings&#124;C/C++，在弹出的对话框中的Category中选择Code generation，然后在Calling convention中选择_stdcall；<br/><br/>4，使用多线程语言运行时库，即在VC的菜单中选择Project&#124;Settings&#124;C/C++，在弹出的对话框中的Category中选择Code generation，然后在Use run-time library中，Debug版选择Debug Multithreaded，Release版选择Multithreaded。<br/><br/>5，配置必要的链接库文件，即在VC的菜单中选择Project&#124;Settings&#124;Link，在弹出的对话框中的Category中选择General，然后在Object/library modules中输入如下代码：<br/><br/> &nbsp; &nbsp;Debug版本 &nbsp; strmbasd.lib, msvcrtd.lib, winmm.lib<br/><br/> &nbsp; &nbsp;Release版本 strmbase.lib, msvcrt.lib, winmm.lib<br/><br/>并且选中Ignore all default libraries。<br/><br/>DirectShow SDK建议，DirectShow应用程序应该至少连接库文件strmiids.lib和quartz.lib。前者定义了DirectShow标准的CLSID和IID，后者定义了导出函数AMGetErrorText（如果应用程序中没有使用到这个函数，也可以不连接这个库）。如果程序里包含了头文件streams.h，则一般库文件还要连接strmbasd.lib、uuid.lib、winmm.lib。<br/><br/>6，将DirectX SDK的Include和Lib目录配置到VC的系统目录中去，并且放在标准的VC目录之前，以保证编译器能够拿到最新版本的源文件。选择Tools&#124;Options&#124;Directories，在弹出的对话框中的Show directories for中选择Include files，配置如下（假设DirectX SDK安装在D:&#92;DXSDK目录下，VC安装在C:&#92;Program Files下）：<br/><br/> &nbsp; &nbsp;D:&#92;DXSDK&#92;Include<br/><br/> &nbsp; &nbsp;D:&#92;DXSDK&#92;SAMPLES&#92;C++&#92;DIRECTSHOW&#92;BASECLASSES<br/><br/> &nbsp; &nbsp;D:&#92;DXSDK&#92;SAMPLES&#92;C++&#92;COMMON&#92;INCLUDE<br/><br/> &nbsp; &nbsp;C:&#92;Program Files&#92;Microsoft Visual Studio&#92;VC98&#92;INCLUDE<br/><br/> &nbsp; &nbsp;C:&#92;Program Files&#92;Microsoft Visual Studio&#92;VC98&#92;MFC&#92;INCLUDE<br/><br/> &nbsp; &nbsp;C:&#92;Program Files&#92;Microsoft Visual Studio&#92;VC98&#92;ATL&#92;INCLUDE<br/><br/>再在Show directories for中选择Library files，配置如下：<br/><br/> &nbsp; &nbsp;D:&#92;DXSDK&#92;Lib<br/><br/> &nbsp; &nbsp;D:&#92;DXSDK&#92;SAMPLES&#92;C++&#92;DIRECTSHOW&#92;BASECLASSES&#92;DEBUG<br/><br/> &nbsp; &nbsp;D:&#92;DXSDK&#92;SAMPLES&#92;C++&#92;DIRECTSHOW&#92;BASECLASSES&#92;RELEASE<br/><br/> &nbsp; &nbsp;C:&#92;PROGRAM FILES&#92;MICROSOFT SDK&#92;LIB<br/><br/> &nbsp; &nbsp;C:&#92;Program Files&#92;Microsoft Visual Studio&#92;VC98&#92;LIB<br/><br/> &nbsp; &nbsp;C:&#92;Program Files&#92;Microsoft Visual Studio&#92;VC98&#92;MFC&#92;LIB<br/><br/>7，因为DirectShow应用程序是一种COM客户程序，因此在调用任何COM函数之前调用CoInitialize（）（或CoInitializeEx）函数进行COM库的初始化（一般是在应用程序启动的时候调用一次），在结束COM库使用时调用CoUninitialize（）函数进行反初始化（一般是在应用程序退出前调用一次）。<br/>－－－－－－－－－－－－－－－－－－－－－－－－－－－－<br/>配置时的问题【一定要注意】<br/>1。include和lib的路径前后顺序一定要“非常严格按照上面顺序排列”，否则<br/> &nbsp;1.1 DXSDK&#92;Include和VC98&#92;INCLUDE有头文件名是重名的，例如control.h，strmif.h。所以要优先选择DXSDK的文件声明。<br/> &nbsp;2.1 DXSDK&#92;Lib和VC98&#92;LIB对 DWORD_PTR 这个数据类型的声明顺序出现编译上连接的歧异！！！！<br/><br/>2。BASECLASSES&#92;DEBUG和BASECLASSES&#92;RELEASE目录和目录里面是内容是没有的，如果你在应用程序中使用了BASECLASSES里面的class，function，filter，interface，就要先用VC编译baseclasses.dsw，编译时请分别选定DEBUG和RELEASE，因为baseclasses.dsw有4个版本，而且默认下都不是DEBUG和RELEASE。编译后生成两个重要文件：strmbasd.lib（Debug），STRMBASE.lib（Release），在以后将用到。</p>
]]></content:encoded>
			<wfw:commentRss>http://caisong.com/360/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

