I have a small application that I compile and run in Visual Studio. I'm running Windows XP Pro with Visual Studio 6 and 2008 installed. The application makes use of the iphlpapi that comes with the Microsoft SDK. However, I cannot seem to arrive at the magic to make this thing compile. This is my directory list for includes:
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
D:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
D:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
D:\PROGRAM FILES\MICROSOFT SDKS\WINDOWS\V6.0A\INCLUDE
The problem is that the first entry has a basetsd.h file that does not have a UINT16 declaration that other Microsoft header files need. The last line DOES have a file with the declaration, but this header file is ignored.
I'm adverse to modifying core files provided by the vendor. Anyone have an idea how to resolve this?