Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
adeniz db29a827fe Built SDK with SNF engine version 3.1.1 and WhiteGuard code. 10 år sedan
..
README Restored from Alban's working copy (last modified 4/17/2010 4:11 PM). 13 år sedan
VS2008CPPSample.sln Reset 13 år sedan
VS2008CPPSample.suo Built SDK with SNF engine version 3.1.1 and WhiteGuard code. 10 år sedan
VS2008CPPSample.vcproj Built version 3.2 SDK. 11 år sedan
VS2008CPPSample.vcproj.user Reset 13 år sedan

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.