Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DirectShow in platform SDK

31 views
Skip to first unread message

Nick Pateman

unread,
Dec 11, 2005, 7:16:38 AM12/11/05
to
Hi there,

I'm having some problems resolving some external dependencies relating
to DirectShow as I am converting from December 2002 SDK to the newer
references in the platform SDK.

I've downloaded the latest DirectX SDK, October 2005 and I have put the
reference paths below the SDK ones within the environment list.

Previously, I just needed to include "streams.h", but this seems to be
different now although I don't seem to be able to find the correct include.
I'm currently using the following...

initguid.h
control.h
strmif.h
uuids.h

and also uuids.lib.

Including these has dropped down my unresolved external dependencies to
just 1,

Error 1 error LNK2001: unresolved external symbol _IID_IGraphBuilder

Has anyone got information or can point me in the right direction for
finding references to the correct includes/libraries to use? Thanks loads in
advance..

Nick Pateman.


William DePalo [MVP VC++ ]

unread,
Dec 11, 2005, 2:25:10 PM12/11/05
to
"Nick Pateman" <a...@a.com> wrote in message
news:eBiq%23yk$FHA...@TK2MSFTNGP09.phx.gbl...

> I'm having some problems resolving some external dependencies relating
> to DirectShow as I am converting from December 2002 SDK to the newer
> references in the platform SDK.

If no one responds here, I'd suggest that you post again in one the of
DirectX development groups

microsoft.public.win32.programmer.directx.*

or perhaps or the multi-media group

microsoft.public.win32.programmer.mmedia

Regards,
Will


Abdo Haji-Ali

unread,
Dec 11, 2005, 2:45:55 PM12/11/05
to
IIRC, DirectShow has been droped from DirectX in October 2005 SDK... So if
you want to use it, stick to your December 2002 SDK (Or you can use Summer
2003 SDK)

Abdo Haji-Ali
Programmer
In|Framez

"Nick Pateman" <a...@a.com> wrote in message
news:eBiq%23yk$FHA...@TK2MSFTNGP09.phx.gbl...

Nick Pateman

unread,
Dec 11, 2005, 2:59:47 PM12/11/05
to
Hi abdo,

But isnt it in the Platform SDK?

Nick Pateman.

"Abdo Haji-Ali" <ah...@inframez.org_use_com_instead> wrote in message
news:%23eOUJuo$FHA...@tk2msftngp13.phx.gbl...

Abdo Haji-Ali

unread,
Dec 11, 2005, 3:22:42 PM12/11/05
to
That's absolutely correct… Actually, DirectShow has been dropped from newer
versions of DirectX SDK, and added to new ones of Platform SDK; so just make
sure that you have the latest Platform SDK version…

Abdo Haji-Ali
Programmer
In|Framez

"Nick Pateman" <a...@a.com> wrote in message

news:Odyn41o$FHA....@TK2MSFTNGP09.phx.gbl...

Nick Pateman

unread,
Dec 11, 2005, 4:09:30 PM12/11/05
to
Hi Abdo,

But that's what I'm getting at, I can't get it to work with the platform
sdk as the names have changed, what do I need to include? Is there a
reference for the changes made? The documentation is lacking greatly, if I
search MSDN docs that came with VS.NET 2005 Pro there is no mention of
DirectShow. Thanks loads in advance I really appreciate your help.

Nick.

"Abdo Haji-Ali" <ah...@inframez.org_use_com_instead> wrote in message

news:OrwBvCp$FHA....@TK2MSFTNGP09.phx.gbl...
> That's absolutely correct. Actually, DirectShow has been dropped from

> newer versions of DirectX SDK, and added to new ones of Platform SDK; so

> just make sure that you have the latest Platform SDK version.

James Park

unread,
Dec 11, 2005, 6:36:26 PM12/11/05
to
I don't think the PlatformSDK stuff that comes with VS 2005 has what you
need. Try downloading it off the web. The documentation is here:
http://msdn.microsoft.com/library/en-us/directshow/htm/directshow.asp

"Nick Pateman" <a...@a.com> wrote in message

news:uHof1cp$FHA....@TK2MSFTNGP11.phx.gbl...

Nick

unread,
Dec 12, 2005, 4:36:57 AM12/12/05
to
Hi James,

If that is the current documentation then it is *very* out of date.
According that that I need to include "dshow.h", there is no header named
that within the platform SDK or the latest DirectX SDK (October 2005). So
does that mean that I can get away with downloading the "latest" directX
extras pack and hope for the best? rather than downloading the corresponding
SDK that goes with it, i.e. February 2005 extras with October 2005 SDK?

Thanks again in advance, it's a shame this isn't being made easier for
the developers!

Nick Pateman.

"James Park" <som...@hotmail.com> wrote in message
news:uNKd2uq$FHA....@TK2MSFTNGP10.phx.gbl...

Nick

unread,
Dec 12, 2005, 6:06:40 AM12/12/05
to
Hi again,

Right, I've managed to get 1 project converted successfully by using the
February 2005 extras with the October 2005 DirectX SDK. That appears to be
working fine.

Now I am trying to convert a slightly larger project I am being informed
of other errors that I can only relate to incorrect headers and the ordering
of them,

previously I was using the streams.h header with strmbase.lib and
uuid.lib. Now if I try to just use dshow.h I get the following error

Fatal error C1189: #error Need to include strsafe.h after tchar.h

So If I include tchar.h before dshow.h it removes that error but then
fails to find types such as CMediaType.

I must be so close surely?? :-)

Nick.

"Nick" <nos...@nospam.com> wrote in message
news:%23HNHc%23v$FHA...@TK2MSFTNGP12.phx.gbl...

Nick

unread,
Dec 13, 2005, 6:40:40 AM12/13/05
to
My appologies I didnt actually read your reply properly! Thanks for your
help.

Nick.

"James Park" <som...@hotmail.com> wrote in message
news:uNKd2uq$FHA....@TK2MSFTNGP10.phx.gbl...

0 new messages