Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. README file for the VS 2008 projects
  2. Copyright (c) 2009 ARM Research Laboratories
  3. This README file gives an overview of each of the VS 2008 projects in
  4. this directory. Each project is in a separate subdirectory. The
  5. projects are:
  6. SNFMultiDLLExampleVB: This contains a VB project that links by
  7. default with SNFMulti.dll in the 64bitDll directory, and calls each
  8. of the public functions of the DLL. It is intended to be an example
  9. of how to call the SNFMulti.dll functions from a VB application. To
  10. build the application using the 64-bit DLL:
  11. 1) Open SNFMultiDLLExampleVB.sln with VS 2008.
  12. 2) Select "Any CPU" for the platform.
  13. 3) In the project, open SNFMultiDLLExample.vb. Modify as
  14. necessary the string specifying the location of SNFMulti.dll and
  15. the argument to startupSNF() as appropriate. The default value of
  16. the string is for the "Any CPU" platform, which uses the
  17. SNFMulti.dll in the 64bitDll directory.
  18. 4) Ensure that SNFMulti.dll exists (look in the CodeBlocks
  19. directory for directions on how to build SNFMulti.dll using
  20. Code::Blocks).
  21. 5) Build and run.
  22. To build with the 32-bit DLL:
  23. 1) Open SNFMultiDLLExampleVB.sln with VS 2008.
  24. 2) Select "x86" for the platform.
  25. 3) In the project, open SNFMultiDLLExample.vb. Modify as
  26. necessary the string specifying the location of SNFMulti.dll and
  27. the argument to startupSNF() as appropriate. You can uncomment
  28. the definition of the SNFMULTI_DLL variable that uses the
  29. SNFMulti.dll in 32bitDll, and comment the definition that uses the
  30. SNFMulti.dll in 64bitDll.
  31. 4) Build and run.
  32. SNFMultiDLLExampleCSharp: This contains a C# project that links by
  33. default with SNFMulti.dll in the 64bitDll directory, and calls each
  34. of the public functions of the DLL. It is intended to be an example
  35. of how to call the SNFMulti.dll functions from a C# application. To
  36. build the application using the 64-bit DLL:
  37. 1) Open SNFMultiDLLExampleCSharp.sln with VS 2008.
  38. 2) Select "Any CPU" or "x64" for the platform.
  39. 3) In the project, open SNFMultiDLLExample.cs. Modify as
  40. necessary the string specifying the location of SNFMulti.dll and
  41. the argument to startupSNF() as appropriate. The default value of
  42. the string is for the "Any CPU" platform, which uses the
  43. SNFMulti.dll in the 64bitDll directory.
  44. 4) Ensure that SNFMulti.dll exists (look in the CodeBlocks
  45. directory for directions on how to build SNFMulti.dll using
  46. Code::Blocks).
  47. 5) Build and run.
  48. To build with the 32-bit DLL:
  49. 1) Open SNFMultiDLLExampleCSharp.sln with VS 2008.
  50. 2) Select "x86" for the platform.
  51. 3) In the project, open SNFMultiDLLExample.cs. Modify as
  52. necessary the string specifying the location of SNFMulti.dll and
  53. the argument to startupSNF() as appropriate. You can uncomment
  54. the definition of the SNFMULTI_DLL variable that uses the
  55. SNFMulti.dll in 32bitDll, and comment the definition that uses the
  56. SNFMulti.dll in 64bitDll.
  57. 4) Build and run.
  58. The SNFMultiDLLExample source files are set up to look for
  59. SNFMulti.dll in the 64bitDll directory. You may build SNFMulti.dll
  60. using Code::Blocks (see the ../CodeBlocks directory), or .CMD files
  61. (see the ../MinGW directory). Whichever method you use, you need to
  62. specify the location of SNFMulti.dll in the source file.
  63. To build SNFMulti.dll using either Code::Blocks or .CMD files, the
  64. following directories need to be present:
  65. ../SNFMulti (contains the source for SNFMulti).
  66. ../CodeDweller (contains the source for CodeDweller).
  67. ../SNFMultiDll (Contains the DLL function definitions).
  68. ../64bitlib (Contains the DLL function header file).