Here are the steps to creating a new MPICH project with MS Developer Studio 6:

  1. Open MS Developer Studio - Visual C++
  2. Create a new project with whatever name you want in whatever directory you want.  The easiest one is a Win32 console application with no files in it.
  3. Finish the new project wizard.
  4. Go to Project->Settings or hit Alt F7 to bring up the project settings dialog box.
  5. Change the settings to use the multithreaded libraries.
    Change the settings for both Debug and Release targets.
  6. Set the include path for all target configurations: This should be MPICH\SDK\include
  7. Set the lib path for all target configurations: This should be MPICH\SDK\lib
  8. Add the ws2_32.lib library to all configurations (This is the Microsoft Winsock2 library.  It's in your default library path).
    Add mpich.lib to the release target and mpichd.lib to the debug target.
  9. Close the project settings dialog box.
  10. Add your source files to the project
  11. Build