none
请教:添加路径的问题 RRS feed

  • 问题

  • 看socketapp这个例子的时候,按照步骤做,但是到第4步和第6步,不知道应该如何添加路径

    链接如下:
    http://msdn.microsoft.com/en-us/library/bb158628.aspx

    具体步骤如下:

    1. Navigate to the solution file (*.sln), and double-click it. By default, the solution file is copied to the following folder:

      C:\Program Files\Windows Mobile 6 SDK\Samples\Common\CPP\Win32\SockApp

      Microsoft Visual Studio 2005 launches and loads the solution.

    2. Open the Tools menu in Visual Studio, and navigate to Options, expand Projects and Solutions, and click VC++ Directories.

    3. In Show directories for:, select Include files.

    4. Add the path to the ActiveSync include directory. The default locations are:

      C:\Program Files\Windows Mobile 6 SDK\Activesync\inc

    5. In Show directories for:, select Library files.

    6. Add the path to the ActiveSync library directory. The default locations are:

      C:\Program Files\Windows Mobile 6 SDK\Activesync\Lib

    7. Build the solution (Ctrl+Shift+B).

    8. Deploy the solution (F5).

      请指教,谢谢!

    2009年4月26日 5:15

答案

  • 已经说的很清楚了, 工具--》选项-->展开项目和解决方案-->点击VC++目录-->在你安装的SDK目录下选择Include的文件和库文件


    I'm a device.
    • 已标记为答案 lancin 2009年5月5日 4:54
    2009年5月4日 14:11
    版主