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" 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) Choose "x64" for the Platform. d) Select Configuration Properties->Debugging. e) Add "path=..\64bitDll" to the Environment command. f) Choose "Win32" for the Platform. g) 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. 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.