Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

README file for the VS 2008 projects

Copyright (c) 2009 ARM Research Laboratories

This README file gives an overview of each of the VS 2008 projects in
this directory. Each project is in a separate subdirectory. The
projects are:

SNFMultiDLLExampleVB: This contains a VB project that links by
default with SNFMulti.dll in the 64bitDll directory, and calls each
of the public functions of the DLL. It is intended to be an example
of how to call the SNFMulti.dll functions from a VB application. To
build the application using the 64-bit DLL:

1) Open SNFMultiDLLExampleVB.sln with VS 2008.

2) Select "Any CPU" for the platform.

3) In the project, open SNFMultiDLLExample.vb. Modify as
necessary the string specifying the location of SNFMulti.dll and
the argument to startupSNF() as appropriate. The default value of
the string is for the "Any CPU" platform, which uses the
SNFMulti.dll in the 64bitDll directory.

4) Ensure that SNFMulti.dll exists (look in the CodeBlocks
directory for directions on how to build SNFMulti.dll using
Code::Blocks).

5) Build and run.

To build with the 32-bit DLL:

1) Open SNFMultiDLLExampleVB.sln with VS 2008.

2) Select "x86" for the platform.

3) In the project, open SNFMultiDLLExample.vb. Modify as
necessary the string specifying the location of SNFMulti.dll and
the argument to startupSNF() as appropriate. You can uncomment
the definition of the SNFMULTI_DLL variable that uses the
SNFMulti.dll in 32bitDll, and comment the definition that uses the
SNFMulti.dll in 64bitDll.

4) Build and run.

SNFMultiDLLExampleCSharp: This contains a C# project that links by
default with SNFMulti.dll in the 64bitDll directory, and calls each
of the public functions of the DLL. It is intended to be an example
of how to call the SNFMulti.dll functions from a C# application. To
build the application using the 64-bit DLL:

1) Open SNFMultiDLLExampleCSharp.sln with VS 2008.

2) Select "Any CPU" or "x64" for the platform.

3) In the project, open SNFMultiDLLExample.cs. Modify as
necessary the string specifying the location of SNFMulti.dll and
the argument to startupSNF() as appropriate. The default value of
the string is for the "Any CPU" platform, which uses the
SNFMulti.dll in the 64bitDll directory.

4) Ensure that SNFMulti.dll exists (look in the CodeBlocks
directory for directions on how to build SNFMulti.dll using
Code::Blocks).

5) Build and run.

To build with the 32-bit DLL:

1) Open SNFMultiDLLExampleCSharp.sln with VS 2008.

2) Select "x86" for the platform.

3) In the project, open SNFMultiDLLExample.cs. Modify as
necessary the string specifying the location of SNFMulti.dll and
the argument to startupSNF() as appropriate. You can uncomment
the definition of the SNFMULTI_DLL variable that uses the
SNFMulti.dll in 32bitDll, and comment the definition that uses the
SNFMulti.dll in 64bitDll.

4) Build and run.

The SNFMultiDLLExample source files are set up to look for
SNFMulti.dll in the 64bitDll directory. You may build SNFMulti.dll
using Code::Blocks (see the ../CodeBlocks directory), or .CMD files
(see the ../MinGW directory). Whichever method you use, you need to
specify the location of SNFMulti.dll in the source file.

To build SNFMulti.dll using either Code::Blocks or .CMD files, the
following directories need to be present:

../SNFMulti (contains the source for SNFMulti).

../CodeDweller (contains the source for CodeDweller).

../SNFMultiDll (Contains the DLL function definitions).

../64bitlib (Contains the DLL function header file).