I'm trying to recompile topoeditusing Visual Studio 2012 (RC, still got 42 days to use it).
After VS2012 auto converted, the tedutil project would make successfully. However, the topoedit project fails.
For example, I get five link errors, pasted into this post below the "----" separator. I've investigated the first one, complaining that TEDGetAttributeListLength() is missing. I see a reference to it in topoedit project's PropertyView.cpp. But I don't see how it's supposed to get it or why the link error occurs. The project tedutil appears to make a dll. I *did* regsvr32 the dll after I remade tedutil. I'm ignorant about what else I might do.
Searching all the source, it seems like the unresolved external references must have something to do with the linker wanting to find the DLL and not finding it. My knowledge in this area is pretty much two decades old and faded from my memory.
Please help!
Thanks.
----
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 "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 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 "enum TED_ATTRIBUTE_CATEGORY __cdecl TEDGetAttributeCategory(unsigned long)" (?TEDGetAttributeCategory@@YA?AW4TED_ATTRIBUTE_CATEGORY@@K@Z) referenced in function "protected: long __thiscall CPropertyAddDialog::OnCategoryChange(unsigned
short,unsigned short,struct HWND__ *,int &)" (?OnCategoryChange@CPropertyAddDialog@@IAEJGGPAUHWND__@@AAH@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)