I have an old project that I need to revisit. It was built in some version of Visual C++ (prolly 2005) looking at the .sln file. The sln file wont get converted to a VS 2008 solution due to some corruption (dubug point -1). I imported the folder in VS as a new project and tried compiling.
It gave compilation errors for "lang/Typedefs.h/Assertions.h" not there. Removing the declarations I had errors for Uint8/16/32/64 not declared. So I added the typedefs and other macros (TOOLS_UNUSED_PARAMETERS(x) / TOOLS_FORBID_COPY()).
That being ironed out, I got errors for Gui/FileDlg.h and Gui/FolderDlg.h(dubug point - 2).
I didnt find any of those header files from any resources online or in my current VS installation and so I am assuming that code is missing and I will have to redo it.
Even these could prolly have been custom implemented by the earlier programmer. The current MFC uses CFileDialog and the code uses Gui::FileDlg.
I commented out the code for the time being to see where can I get to since gui is not that big a part of the application. Later I see linker errors corresponding to RegKeyOpenEx calls and outputstream calls(dubug point -3). Winreg.h was not included but windows.h was.
sample : Error 2 error LNK2019: unresolved external symbol _imp_MessageBoxA@16 referenced in function "public: class std::basic_ostream> * __thiscall FileManager::getOutputStream(class Interface *,class LogPoint *)" (?getOutputStream@FileManager@@QAEPAV?$basic_ostream@DU?$char_traits@D@std@@@std@@PAVInterface@@PAVLogPoint@@@Z) filemanager.obj PCAPGenerator
I am not a .Net programmer so can you please suggest what would be the right course of action here ? which debug points should i be focussing on.