Dear Steve,
The current version: Elecard Codec .NET SDK G4 v. 1.4.111027 has project for VS 2010 as well.
You can purchase it from site or get it free under purchases technical support program.
If you stays on v. 1.3.1.91015 we can recommend you to check the following:
- You should have Windows SDK 7.1 installed on your machine
- Please also make sure that 'Windows SDK 7.1' is set in 'General' tab in project settings for all projects(in DS BaseClasses, Elecard BaseClasses and Sample Applications)
- You should use Debug_MBCS or Release_MBCS in DS BaseClasses to create streambasd.lib and streambase.lib under VS2010.
- You should set the file path to these libraries for each project( Elecard BaseClasses and Sample Applications Projects) and make sure that these projects use exactly these version of libraries.
- 'Character set' should be 'Use Multi-byte character set' in 'General' tab in project settings in all projects(in DS BaseClasses, Elecard BaseClasses and Sample Applications)
- 'Treat wchar_t as built-in type' should be set 'Yes' in 'C/C++'->'Language' tab in project settings in all projects(in DS BaseClasses, Elecard BaseClasses and Sample Applications)
- 'Runtime libraries' should be set to 'MT'(for release) or MTD(for debug) in 'C/C++'->'Code generation' tab in project settings in all projects(in DS BaseClasses, Elecard BaseClasses and Sample Applications)
- Please check that 'Calling Convention' in 'c/c++'->'Advanced' tab is set to 'cdecl'(/GD).
Also check that the following paths is set in VS directories for each project:
Include:
"..\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses"
"..\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\common"
"..\Microsoft SDKs\Windows\v7.1\Include"
Libraries:
"..\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses\debug"
"..\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses\release"
"..\Microsoft SDKs\Windows\v7.1\Lib"
Also please make the following changes in profile.cpp file:
change this row: m_KeyName.insert(TMKeyName::value_type(index, NULL));
to the following construction:
#if _MSC_VER >= 1600
m_KeyName.insert(TMKeyName::value_type(index, nullptr));
#else
m_KeyName.insert(TMKeyName::value_type(index, NULL));
#endif
If after all these steps you still get problem with compile SDK under VS2010 please write to our technical support(
tsup@elecard.ru) and describe what exactly project do you build and what errors do you get.