You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. README file for the VS 2008 CPP sample project
  2. Copyright (c) 2009 ARM Research Laboratories
  3. This README file gives an overview of the VS 2008 CPP sample project.
  4. This project links the sample CPP file CPPSample\main.cpp with the
  5. SNFMulti import library.
  6. To build this application:
  7. 1) Open VS2008CPPSampls\VS2008CPPSample.sln with VS 2008.
  8. 2) Select "x64" or "win32" for the platform.
  9. 3) In the project, open main.cpp. Modify the initial value of
  10. ConfigurationPath as necessary to specify the location of the
  11. SNFServer configuration file.
  12. 4) Build.
  13. 5) Ensure that the path in VS2008 includes the directory containing
  14. SNFMulti.dll. If needed, add the directory by:
  15. a) Right-click on "VS2008CPPSample" in the VS2008 Solution
  16. Explorer, and select "Properties".
  17. b) Choose "All Configurations" for the Configuration.
  18. c) Choose "x64" for the Platform.
  19. d) Select Configuration Properties->Debugging.
  20. e) Add "path=..\64bitDll" to the Environment command.
  21. f) Choose "Win32" for the Platform.
  22. g) Add "path=..\32bitDll" to the Environment command.
  23. 6) Run.
  24. In order to create an import library, do the following:
  25. 1) Open a VS2008 command prompt (Tools->Visual Studio 2008 Command
  26. Prompt).
  27. 2) Change to the 32bitDll directory of the SDK.
  28. 3) Enter the command:
  29. LIB /MACHINE:x86 /DEF:snfmulti.def /name:snfmulti.dll /out:vs2008_snfmulti.lib
  30. This creates the vs2008_snfmulti.lib import library for the win32
  31. platform.
  32. 4) Change to the 64bitDll directory of the SDK.
  33. 5) Enter the command:
  34. LIB /MACHINE:x64 /DEF:snfmulti.def /name:snfmulti.dll /out:vs2008_snfmulti.lib
  35. This creates the vs2008_snfmulti.lib import library for the x64
  36. platform.