renaMember

I could compile the samples from Platform SDK Server 2003 R2, but the resulting .ax files fail to register.
I ran Dependy Walker on them, and I seem to have a problem with mpr.dll (version 5.1.2600.2180). My collegues are experiencing the same problem.
Can anyone help me out

Regards,
renaMember.


Re: DirectShow Development DirectShow Filter Samples Fail to register

renaMember

Ah, a bit further now: when I Compile with VS 2003, I can register, but not when I compile with VS2005...




Re: DirectShow Development DirectShow Filter Samples Fail to register

Chris P.

Are you trying to register on the dev machine or on a target PC

VS2005 has a different set of dependencies to VS2003 so you may have to install the VC 2005 runtime library. The files are located at:

\Program Files\Microsoft Visual Studio 8\VC\redist






Re: DirectShow Development DirectShow Filter Samples Fail to register

renaMember

I'm trying to register on a development machine, so all the redistristributables are in place...




Re: DirectShow Development DirectShow Filter Samples Fail to register

Chris P.

Do you have a reference to one of the samples that is failing for you Sounds like you might be linking to the wrong library version.






Re: DirectShow Development DirectShow Filter Samples Fail to register

renaMember

for example: D:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Samples\Multimedia\DirectShow\Filters\Scope.
I'm building this using the environment script that came with the Platform SDK (C:\WINNT\system32\cmd.exe /E:ON /V:ON /T:0E /K "D:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Setup\SetEnvLaunchWinXP32Debug.Cmd" /XP32 /DEBUG), and then running nmake from the scope folder...




Re: DirectShow Development DirectShow Filter Samples Fail to register

MVP User

Have you tried to use the Vista SDK for VS 2005 They even put vs projects for VS 2005 in this version :) TMH



Re: DirectShow Development DirectShow Filter Samples Fail to register

Chris P.

Like TMH suggests, if you use the version in the Vista SDK it will work with VS2005 without modification. Same goes for the baseclasses.






Re: DirectShow Development DirectShow Filter Samples Fail to register

renaMember

Thanks or all the replies, but I could not try the Vista suggestions. I did however succeed in building the Infinite Tee thingie using a VS project file (based on Chris' AudioTransformFrame project). For the moment, this is good enough as it allows me to start my own stuff.

I also found out that DXSDK was actually pointing to the wrong SDK version, but that still didn't help me out: I now get a different error when trying to register after using the nmake command in the Platform SDK Open environment... ("An application has made an attempt to load the C Runtime library without using a manifest. ...")






Re: DirectShow Development DirectShow Filter Samples Fail to register

MVP User

> Thanks or all the replies, but I could not try the Vista suggestions. Why It is a free download from MS or can be ordered on CD for a reasonable fee. It does not require that you run Vista to use it.



Re: DirectShow Development DirectShow Filter Samples Fail to register

renaMember

Ok, I'll try that...