您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
adeniz 99b668337c Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 年前
..
README Restored from Alban's working copy (last modified 4/17/2010 4:11 PM). 13 年前
VS2008CPPSample.sln Reset 13 年前
VS2008CPPSample.suo Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 年前
VS2008CPPSample.vcproj Built version 3.2 SDK. 10 年前
VS2008CPPSample.vcproj.user Reset 13 年前

README

README file for the VS 2008 CPP sample project


Copyright (c) 2009 ARM Research Laboratories

This README file gives an overview of the VS 2008 CPP sample project.

This project links the sample CPP file CPPSample\main.cpp with the
SNFMulti import library.

To build this application:

1) Open VS2008CPPSampls\VS2008CPPSample.sln with VS 2008.

2) Select "x64" (if available) or "win32" for the platform.

3) In the project, open main.cpp. Modify the initial value of
ConfigurationPath as necessary to specify the location of the
SNFServer configuration file.

4) Build.

5) Ensure that the path in VS2008 includes the directory containing
SNFMulti.dll. If needed, add the directory by:

a) Right-click on "VS2008CPPSample" in the VS2008 Solution
Explorer, and select "Properties".

b) Choose "All Configurations" for the Configuration.

c) If your installation supports the x64 platform:

i) Choose "x64" for the Platform.

ii) Select Configuration Properties->Debugging.

iii) Add "path=..\64bitDll" to the Environment command.

d) Choose "Win32" for the Platform.

e) Add "path=..\32bitDll" to the Environment command.

6) Run.

In order to create an import library, do the following:

1) Open a VS2008 command prompt (Tools->Visual Studio 2008 Command
Prompt).

2) Change to the 32bitDll directory of the SDK.

3) Enter the command:

LIB /MACHINE:x86 /DEF:snfmulti.def /name:snfmulti.dll /out:vs2008_snfmulti.lib

This creates the vs2008_snfmulti.lib import library for the win32
platform. To create an inport library for the x64 platform:

4) Change to the 64bitDll directory of the SDK.

5) Enter the command:

LIB /MACHINE:x64 /DEF:snfmulti.def /name:snfmulti.dll /out:vs2008_snfmulti.lib

This creates the vs2008_snfmulti.lib import library for the x64
platform.