Jump to content
  • Advertisement
Sign in to follow this  
ankhd

About Microsoft Media Foundation On Vista

This topic is 1489 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Im looking into movie Play back in my directx 10 app for cut scenes.

 

I had to down load the windows dsk 7.  As Windows SDK 7.1 does not work and the fixes on the net do nothing to fix it I think its vista.

 

but none of the windows 7.0 sample code for media foundation run I get errors like this here.

 error C2146: syntax error : missing ';' before identifier 'hdr'
1>c:\program files\microsoft sdks\windows\v6.0a\include\prsht.h(666) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\prsht.h(666) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\windows.h(238) : warning C4193: #pragma warning(pop) : no matching '#pragma warning(push)'
1>c:\program files\microsoft sdks\windows\v7.0\include\evr.h(1302) : error C2061: syntax error : identifier 'IMFTransform'

they point to the core file the headers like this head here

this is in prsht.h its like the headers have errors what they dont debug there stuff now ???????.

 

typedef

 

struct _PSHNOTIFY

{

NMHDR hdr;

LPARAM lParam;

} PSHNOTIFY, *LPPSHNOTIFY;

 

its saying there is errors here

typedef

 

/* [v1_enum] */

enum

 

MF_SOURCE_READER_FLAG

{ MF_SOURCE_READERF_ERROR = 0x1,

MF_SOURCE_READERF_ENDOFSTREAM = 0x2,

MF_SOURCE_READERF_NEWSTREAM = 0x4,

MF_SOURCE_READERF_NATIVEMEDIATYPECHANGED = 0x10,

MF_SOURCE_READERF_CURRENTMEDIATYPECHANGED = 0x20,

MF_SOURCE_READERF_STREAMTICK = 0x100

} MF_SOURCE_READER_FLAG;

DEFINE_ENUM_FLAG_OPERATORS(MF_SOURCE_READER_FLAG)

typedef

 

/* [v1_enum] */

enum

 

MF_SOURCE_READER_CONTROL_FLAG

{ MF_SOURCE_READER_CONTROLF_DRAIN = 0x1

} MF_SOURCE_READER_CONTROL_FLAG;

 

this is in mfreadwrite.h

 

do I have to use Direct Show them samples sort of work..

 

I would like to use media foundion.

 

 

Share this post


Link to post
Share on other sites
Advertisement

It looks like you have two SDKs mixed into one module.

You could check the configuration of platforms.

Is it the Visual C++ 2008? Then you should manually assign the correct version in registry (switching does not work).

Edited by kubera

Share this post


Link to post
Share on other sites

Are you Talking about haveing the DirectX SDK 8 + DirectX SDK 9, and windows SDK 7.0 because I do.

I don't need the 8 but for the samples and 9 im using dx10.

I'm 5 years into a project with vc8 and dont seem to think its wise to change to a new compiler

 

or are you talking about in vc c++ 8 haveing included and linked the directx9 and windows sdk.

 

Do I need the windows SDK on my system. I have the August 2009.

 

Is it the Visual C++ 2008? Then you should manually assign the correct version in registry (switching does not work).

Please go into more detail on this answer.

Share this post


Link to post
Share on other sites

I think I have the wrong SDK I think this is what I should be using.

Microsoft® Windows® Software Development Kit Update for Windows Vista

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!