Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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" (if available) 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) If your installation supports the x64 platform:
  19. i) Choose "x64" for the Platform.
  20. ii) Select Configuration Properties->Debugging.
  21. iii) Add "path=..\64bitDll" to the Environment command.
  22. d) Choose "Win32" for the Platform.
  23. e) Add "path=..\32bitDll" to the Environment command.
  24. 6) Run.
  25. In order to create an import library, do the following:
  26. 1) Open a VS2008 command prompt (Tools->Visual Studio 2008 Command
  27. Prompt).
  28. 2) Change to the 32bitDll directory of the SDK.
  29. 3) Enter the command:
  30. LIB /MACHINE:x86 /DEF:snfmulti.def /name:snfmulti.dll /out:vs2008_snfmulti.lib
  31. This creates the vs2008_snfmulti.lib import library for the win32
  32. platform. To create an inport library for the x64 platform:
  33. 4) Change to the 64bitDll directory of the SDK.
  34. 5) Enter the command:
  35. LIB /MACHINE:x64 /DEF:snfmulti.def /name:snfmulti.dll /out:vs2008_snfmulti.lib
  36. This creates the vs2008_snfmulti.lib import library for the x64
  37. platform.