Hello,
I have tried the past days to develop a media player for an application using Media Foundation. As a start I decided to look at how topoedit is built and extract some things that I need.
The problem is that I can't build the solution that is released with the SDK .Net framework 3.5 and 4 in VS2010 Win7 x64 or Win8 x64.
Since the topoedit solution is created using VS2008(I guess) it needs to be converted to the VS2010 format. What I have also tried, because there were less errors, was to create the x64 configuration by using the Configuration Manager and by copying the settings from the win32 version.
The compiler errors (it's more a linking problem, perhaps I am missing something) that I still get are:
1>PropertyView.obj : error LNK2019: unresolved external symbol "unsigned short __cdecl TEDGetAttributeType(unsigned long)" (?TEDGetAttributeType@@YAGK@Z) referenced in function "public: long __thiscall CPropertyEditWindow::OnAdd(unsigned short,unsigned short,struct HWND__ *,int &)" (?OnAdd@CPropertyEditWindow@@QAEJGGPAUHWND__@@AAH@Z)
1>PropertyView.obj : error LNK2019: unresolved external symbol "wchar_t const * __cdecl TEDGetAttributeName(unsigned long)" (?TEDGetAttributeName@@YAPB_WK@Z) referenced in function "public: long __thiscall CPropertyEditWindow::OnAdd(unsigned short,unsigned short,struct HWND__ *,int &)" (?OnAdd@CPropertyEditWindow@@QAEJGGPAUHWND__@@AAH@Z)
1>PropertyView.obj : error LNK2019: unresolved external symbol "unsigned long __cdecl TEDGetAttributeListLength(void)" (?TEDGetAttributeListLength@@YAKXZ) referenced in function "public: long __thiscall CPropertyEditWindow::OnAdd(unsigned short,unsigned short,struct HWND__ *,int &)" (?OnAdd@CPropertyEditWindow@@QAEJGGPAUHWND__@@AAH@Z)
1>PropertyView.obj : error LNK2019: unresolved external symbol "enum TED_ATTRIBUTE_CATEGORY __cdecl TEDGetAttributeCategory(unsigned long)" (?TEDGetAttributeCategory@@YA?AW4TED_ATTRIBUTE_CATEGORY@@K@Z) referenced in function "protected: long __thiscall CPropertyAddDialog::OnInitDialog(unsigned int,unsigned int,long,int &)" (?OnInitDialog@CPropertyAddDialog@@IAEJIIJAAH@Z)
1>tedapp.obj : error LNK2019: unresolved external symbol _TEDCreateTopoViewer@16 referenced in function "protected: long __thiscall CTedApp::OnCreate(unsigned int,unsigned int,long,int &)" (?OnCreate@CTedApp@@IAEJIIJAAH@Z)
1>Debug\topoedit.exe : fatal error LNK1120: 5 unresolved externals
Thank you!