下面这段话是关于怎么在VC6里面调用FreeImage library,请大家帮忙看看怎么把在VC7里面实现同样的操作。How to use FreeImage as a static library (Visual C++ 6) ?
Using FreeImage as a static library is not so easy, but it's not more complicated than using any other library. Here is a step by step method to do this :   1. Compile the FreeImage library in debug and release modes and close your projects. You won't need to use the FreeImage source code anymore.
   2. Copy FreeImage.lib/FreeImaged.lib into your lib\ directory or in a directory where the compiler can find them (e.g. your project directory). You can use "Menu->Tools->Options->Directories->Library files" for this.
   3. Create a new project and add your code in it.
      Add a call to FreeImage_Initialise() at the beginning of you main function and a call to FreeImage_DeInitialise() at the end of this function.
   4. Edit the compiler options (Menu -> Project -> Settings)
         1. tab C/C++ : Category "Preprocessor"
                * Add FREEIMAGE_LIB to the preprocessor definitions 
         2. tab C/C++ : Category "Code Generation"
                * Use the Multithreaded run-time library (in release mode)
                * Use the Debug Multithreaded run-time library (in debug mode) 
   5. Edit linker options (Menu -> Project -> Settings)
         1. tab Link : Category Input
                * Add FreeImage.lib to the list of object/library modules (release mode)
                * Add FreeImaged.lib to the list of object/library modules (debug mode) 
         2. tab Link : Category Input
                * Add LIBCMT to the Ignore library list (it helps to avoid a warning) 
   6. Compile and link your program