Trying to get metainfo sample application to compile
I am currently trying to get the metainfo sample application that comes with VS 2003. The application code is located at (for a standard VS.Net install):
C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Tool Developers Guide\Samples\metainfo
Since I am learning VC++ and the ins and outs of the VC++ IDE in VS.Net (tons of settings I haven't a clue about yet) ... I just can't the application to compile. Currently I am getting 3 errors, all C2664 'cannot convert parametern fromtype totype. For example:
metainfo.cpp(147): error C2664: 'FindFirstFileW' : cannot convert parameter 2 from 'WIN32_FIND_DATA *__w64 ' to 'LPWIN32_FIND_DATAW'
I started doing a little digging as to what this error message is about ... then I remember that this is sample code ... so it probably works fine. Or it would if I knew the correct settings to set it up in VS.Net ... or so I am thinking. Here is what I have done:
1. Created a Win32 Console application
2. Removed all the .cpp files and .h files that came with that Console application
3. Added all the .cpp files in the metainfo directory mentioned above to the Source Files
4. Added all the .h files in the metainfo directory mentioned above to the Header Files
5. Try and build ...
Anyone out there have an idea of what I am missing?
Thanks for any help

