Explorar el Código

Restored from Alban's working copy (last modified 4/17/2010 4:11 PM).

Added:  BuildDistribution directory, VBSample directory.

Updated Readme files.

git-svn-id: https://svn.microneil.com/svn/PKG-SNF-SDK-WIN/trunk@11 7d91e7c8-5a61-404e-b06a-95855fde9112
master
adeniz hace 13 años
padre
commit
54ac42256b

+ 13
- 0
BuildDistribution.cmd Ver fichero

@@ -1,3 +1,4 @@
@ECHO OFF
REM This script updates and builds the Windows SDK
REM Before moving to a new version this script must be updated.
REM When properly configured this script does:
@@ -17,3 +18,15 @@ REM 6. Empty the SDKBuild directory.
REM
REM 7. Pause to let the developer view the success and remind them to commit the revision to SVN.
set DISTDIR=SNFMultiSDK_Windows_3.1
set TEMPDIR=C:\TEMP
set ZIPFILE=%DISTDIR%.zip
set TEMPDIST=%TEMPDIR%\%DISTDIR%
BuildDistribution\BuildDistribution -d %DISTDIR% -t %TEMPDIR%
@DEL %ZIPFILE%
jzip -p -r %ZIPFILE% %TEMPDIST%
ECHO Created zipfile %ZIPFILE%
RMDIR /S /Q %TEMPDIST%

+ 1
- 0
CPPSample/README.txt Ver fichero

@@ -1,3 +1,4 @@
Copyright (c) 2010 ARM Research Laboratories
The c++ sample application is as simple as possible.
It demonstrates how an oem application would initialize the SNF engine

+ 1
- 0
CSSample/README.txt Ver fichero

@@ -1,3 +1,4 @@
Copyright (c) 2010 ARM Research Laboratories
The C# sample application is as simple as possible.
It demonstrates how an oem application would initialize the SNF engine

BIN
SNFMultiSDK_Windows_3.0.zip Ver fichero


BIN
SNFMultiSDK_Windows_3.1.zip Ver fichero


+ 1
- 0
SNFMultiSDK_Windows_3.1/CPPSample/README.txt Ver fichero

@@ -1,3 +1,4 @@
Copyright (c) 2010 ARM Research Laboratories
The c++ sample application is as simple as possible.
It demonstrates how an oem application would initialize the SNF engine

+ 1
- 0
SNFMultiSDK_Windows_3.1/CSSample/README.txt Ver fichero

@@ -1,3 +1,4 @@
Copyright (c) 2010 ARM Research Laboratories
The C# sample application is as simple as possible.
It demonstrates how an oem application would initialize the SNF engine

+ 34
- 4
SNFMultiSDK_Windows_3.1/ReadMe.html Ver fichero

@@ -4,11 +4,12 @@
<body>
<font face="sans-serif">
<h1>Message Sniffer SDK for Win* V3.0</h1>
<h1>Message Sniffer SDK for Win* V3.1</h1>
<h2>Contents</h2>
</font><h3><ol>
<p><font face="sans-serif">Introduction</font></p>
<li><font face="sans-serif"><a href="#Begin">Before you begin!</a></font></li>
<li><font face="sans-serif"><a href="#Contents">Contents of the SDK</a></font></li>
<li><font face="sans-serif"><a href="#Description">SNFMulti DLL Description</a></font></li>
<li><font face="sans-serif"><a href="ChangeLog.txt">Change Log</a></font></li>
<p><font face="sans-serif">Setup notes and important instructions</font></p>
@@ -52,12 +53,41 @@ before you begin writing your own or begin integrating the SNF engine into your
piece of software with a lot of capabilities and options. You will have much better results
if you are familiar with these before you begin ;-)</p>
<hr/>
<a name="Contents"><h3>Contents of the SDK</h3></a>
<p>This SDK contains the following:
<ol>
<li><font face="sans-serif">Documentation files, including
this file.</font></li>
<li><font face="sans-serif">DLLs (both 32 bit and 64 bit
versions) and the required header files (in
directory <b>include</b>).</font></li>
<li><font face="sans-serif">Sample programs in C++ (in
directory <b>CPPSample</b>), C# (<b>CSSample</b>), and Visual
Basic (<b>VBSample</b>).</font></li>
<li><font face="sans-serif">VS 2008 Solution files to build
the sample program in C++ (in
directory <b>VS2008CPPSample</b>), in C#
(<b>VS2008CSSample</b>), and Visual Basic
(<b>VS2008VBSample</b>).<br>
The <b>VS2008CPPSample\README</b> contains instructions for
creating the SNFMulti import libraries for use with VS 2008.
</font></li>
<li><font face="sans-serif">Other applications
(<b>curl</b>, <b>SNFClient</b>, and <b>getRulebase</b>) and
configuration files needed to support SNF
operation.</font></li>
</ol>
There are also directions for building VS 2008 import libraries in <b>VS2008CPPSample\README</b>.
</p>
<hr/>
<a name="Description"><h3>SNFMulti DLL Description</h3></a>
<p>The SNF SDK for Win* is based on a DLL. The DLL is provided in both 32 bit and 64 bit versions.
The 32 bit version is included here. The 64 bit version is available upon request as it is
still considered a late-beta product (It has no apparent bugs, but we're still testing it).</p>
<p>The SNF SDK for Win* is based on a DLL. The DLLs for both the 32 bit
and 64 bit versions are included here.
</p>
<p>The DLL contains the entire SNFServer engine and provides a simple API for starting the
engine, scanning messages, and retrieving the results. Since the entire SNFServer engine is

+ 2
- 0
SNFMultiSDK_Windows_3.1/SNFClient_readme.txt Ver fichero

@@ -1,5 +1,7 @@
SNFClient Readme
Copyright (c) 2010 ARM Research Laboratories
Command line client for SNF. This utility formats and processes SNF_XCI
requests through the SNF Engine working on the local machine. In general
this utility can be used as a replacement for the earlier SNF command

+ 2
- 0
SNFMultiSDK_Windows_3.1/SNFServer_readme.txt Ver fichero

@@ -1,5 +1,7 @@
SNF_Server V3.0 installation brief
Copyright (c) 2010 ARM Research Laboratories
This is a generalized guide. For specific platform guides see:
http://www.armresearch.com/support/articles/installation/index.jsp

+ 65
- 63
SNFMultiSDK_Windows_3.1/VS2008CPPSample/README Ver fichero

@@ -1,63 +1,65 @@
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.
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" (if available) 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) If your installation supports the x64 platform:
i) Choose "x64" for the Platform.
ii) Select Configuration Properties->Debugging.
iii) Add "path=..\64bitDll" to the Environment command.
d) Choose "Win32" for the Platform.
e) 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. To create an inport library for the x64 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.

+ 0
- 121
SNFMultiSDK_Windows_3.1/VS2008CPPSample/VS2008CPPSample.vcproj.pokey.adeniz.user Ver fichero

@@ -1,121 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<VisualStudioUserFile
ProjectType="Visual C++"
Version="9.00"
ShowAllFiles="false"
>
<Configurations>
<Configuration
Name="Debug|Win32"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="POKEY"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment="path=..\32bitDll"
EnvironmentMerge="true"
DebuggerFlavor="0"
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
<Configuration
Name="Debug|x64"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="POKEY"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment="path=..\64bitDll"
EnvironmentMerge="true"
DebuggerFlavor="0"
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
<Configuration
Name="Release|Win32"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="POKEY"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment="path=..\32bitDll"
EnvironmentMerge="true"
DebuggerFlavor="0"
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
<Configuration
Name="Release|x64"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="POKEY"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment="path=..\64bitDll"
EnvironmentMerge="true"
DebuggerFlavor="0"
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
</Configurations>
</VisualStudioUserFile>

+ 29
- 29
SNFMultiSDK_Windows_3.1/VS2008CSSample/README Ver fichero

@@ -1,29 +1,29 @@
README file for the VS 2008 C# sample project
Copyright (c) 2009 ARM Research Laboratories
This README file gives an overview of the VS 2008 C# sample project.
This project links the sample C# file CSSample\main.cs with the
SNFMulti DLL library.
To build this application:
1) Open VS2008CSSample\VS2008CSSample.sln with VS 2008.
2) Select "Any CPU", "x64" or "x86" for the platform.
3) In the project, open main.cpp.
4) Modify the initial value of ConfigurationPath as necessary to
specify the location of the SNFServer configuration file. The
defaults assume that the configuration file name is
"snf_engine.xml", and is located in the same directory as the
VS2008CSSample.sln.
5) Modify the initial value of SNFMULTI_DLL as necessary to specify
the location of the SNFMulti.dll file.
6) Build.
7) Run.
README file for the VS 2008 C# sample project
Copyright (c) 2009 ARM Research Laboratories
This README file gives an overview of the VS 2008 C# sample project.
This project links the sample C# file CSSample\main.cs with the
SNFMulti DLL library.
To build this application:
1) Open VS2008CSSample\VS2008CSSample.sln with VS 2008.
2) Select "Any CPU", "x64" or "x86" for the platform.
3) In the project, open main.cs.
4) Modify the initial value of ConfigurationPath as necessary to
specify the location of the SNFServer configuration file. The
defaults assume that the configuration file name is
"snf_engine.xml", and is located in the same directory as the
VS2008CSSample.sln.
5) Modify the initial value of SNFMULTI_DLL as necessary to specify
the location of the SNFMulti.dll file.
6) Build.
7) Run.

+ 29
- 29
SNFMultiSDK_Windows_3.1/VS2008VBSample/README Ver fichero

@@ -1,29 +1,29 @@
README file for the VS 2008 VB sample project
Copyright (c) 2009 ARM Research Laboratories
This README file gives an overview of the VS 2008 VB sample project.
This project links the sample VB file VBSample\main.cpp with the
SNFMulti DLL library.
To build this application:
1) Open VS2008VBSample\VS2008VBSample.sln with VS 2008.
2) Select "Any CPU", "x64" or "x86" for the platform.
3) In the project, open main.cpp.
4) Modify the initial value of ConfigurationPath as necessary to
specify the location of the SNFServer configuration file. The
defaults assume that the configuration file name is
"snf_engine.xml", and is located in the same directory as the
VS2008VBSample.sln.
5) Modify the initial value of SNFMULTI_DLL as necessary to specify
the location of the SNFMulti.dll file.
6) Build.
7) Run.
README file for the VS 2008 VB sample project
Copyright (c) 2009 ARM Research Laboratories
This README file gives an overview of the VS 2008 VB sample project.
This project links the sample VB file VBSample\main.cpp with the
SNFMulti DLL library.
To build this application:
1) Open VS2008VBSample\VS2008VBSample.sln with VS 2008.
2) Select "Any CPU", "x64" or "x86" for the platform.
3) In the project, open main.vb.
4) Modify the initial value of ConfigurationPath as necessary to
specify the location of the SNFServer configuration file. The
defaults assume that the configuration file name is
"snf_engine.xml", and is located in the same directory as the
VS2008VBSample.sln.
5) Modify the initial value of SNFMULTI_DLL as necessary to specify
the location of the SNFMulti.dll file.
6) Build.
7) Run.

+ 1
- 0
VBSample/README.txt Ver fichero

@@ -1,3 +1,4 @@
Copyright (c) 2010 ARM Research Laboratories
The VB sample application is as simple as possible.
It demonstrates how an oem application would initialize the SNF engine

+ 65
- 63
VS2008CPPSample/README Ver fichero

@@ -1,63 +1,65 @@
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.
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" (if available) 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) If your installation supports the x64 platform:
i) Choose "x64" for the Platform.
ii) Select Configuration Properties->Debugging.
iii) Add "path=..\64bitDll" to the Environment command.
d) Choose "Win32" for the Platform.
e) 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. To create an inport library for the x64 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.

+ 0
- 121
VS2008CPPSample/VS2008CPPSample.vcproj.pokey.adeniz.user Ver fichero

@@ -1,121 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<VisualStudioUserFile
ProjectType="Visual C++"
Version="9.00"
ShowAllFiles="false"
>
<Configurations>
<Configuration
Name="Debug|Win32"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="POKEY"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment="path=..\32bitDll"
EnvironmentMerge="true"
DebuggerFlavor="0"
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
<Configuration
Name="Debug|x64"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="POKEY"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment="path=..\64bitDll"
EnvironmentMerge="true"
DebuggerFlavor="0"
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
<Configuration
Name="Release|Win32"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="POKEY"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment="path=..\32bitDll"
EnvironmentMerge="true"
DebuggerFlavor="0"
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
<Configuration
Name="Release|x64"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="POKEY"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment="path=..\64bitDll"
EnvironmentMerge="true"
DebuggerFlavor="0"
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
</Configurations>
</VisualStudioUserFile>

+ 29
- 29
VS2008CSSample/README Ver fichero

@@ -1,29 +1,29 @@
README file for the VS 2008 C# sample project
Copyright (c) 2009 ARM Research Laboratories
This README file gives an overview of the VS 2008 C# sample project.
This project links the sample C# file CSSample\main.cs with the
SNFMulti DLL library.
To build this application:
1) Open VS2008CSSample\VS2008CSSample.sln with VS 2008.
2) Select "Any CPU", "x64" or "x86" for the platform.
3) In the project, open main.cpp.
4) Modify the initial value of ConfigurationPath as necessary to
specify the location of the SNFServer configuration file. The
defaults assume that the configuration file name is
"snf_engine.xml", and is located in the same directory as the
VS2008CSSample.sln.
5) Modify the initial value of SNFMULTI_DLL as necessary to specify
the location of the SNFMulti.dll file.
6) Build.
7) Run.
README file for the VS 2008 C# sample project
Copyright (c) 2009 ARM Research Laboratories
This README file gives an overview of the VS 2008 C# sample project.
This project links the sample C# file CSSample\main.cs with the
SNFMulti DLL library.
To build this application:
1) Open VS2008CSSample\VS2008CSSample.sln with VS 2008.
2) Select "Any CPU", "x64" or "x86" for the platform.
3) In the project, open main.cs.
4) Modify the initial value of ConfigurationPath as necessary to
specify the location of the SNFServer configuration file. The
defaults assume that the configuration file name is
"snf_engine.xml", and is located in the same directory as the
VS2008CSSample.sln.
5) Modify the initial value of SNFMULTI_DLL as necessary to specify
the location of the SNFMulti.dll file.
6) Build.
7) Run.

+ 29
- 29
VS2008VBSample/README Ver fichero

@@ -1,29 +1,29 @@
README file for the VS 2008 VB sample project
Copyright (c) 2009 ARM Research Laboratories
This README file gives an overview of the VS 2008 VB sample project.
This project links the sample VB file VBSample\main.cpp with the
SNFMulti DLL library.
To build this application:
1) Open VS2008VBSample\VS2008VBSample.sln with VS 2008.
2) Select "Any CPU", "x64" or "x86" for the platform.
3) In the project, open main.cpp.
4) Modify the initial value of ConfigurationPath as necessary to
specify the location of the SNFServer configuration file. The
defaults assume that the configuration file name is
"snf_engine.xml", and is located in the same directory as the
VS2008VBSample.sln.
5) Modify the initial value of SNFMULTI_DLL as necessary to specify
the location of the SNFMulti.dll file.
6) Build.
7) Run.
README file for the VS 2008 VB sample project
Copyright (c) 2009 ARM Research Laboratories
This README file gives an overview of the VS 2008 VB sample project.
This project links the sample VB file VBSample\main.cpp with the
SNFMulti DLL library.
To build this application:
1) Open VS2008VBSample\VS2008VBSample.sln with VS 2008.
2) Select "Any CPU", "x64" or "x86" for the platform.
3) In the project, open main.vb.
4) Modify the initial value of ConfigurationPath as necessary to
specify the location of the SNFServer configuration file. The
defaults assume that the configuration file name is
"snf_engine.xml", and is located in the same directory as the
VS2008VBSample.sln.
5) Modify the initial value of SNFMULTI_DLL as necessary to specify
the location of the SNFMulti.dll file.
6) Build.
7) Run.

+ 85
- 68
readme Ver fichero

@@ -1,68 +1,85 @@
This is where the SNF SDK for Windows Package is kept.

Copyright (c) 2009 ARM Research Laboratories

The SNFMulti.dll file is built using MinGW-64, the 64-bit MinGW
toolchain. There are two ways for building SNFMulti.dll:

1) Use the Code::Blocks project (in the CodeBlocks directory).

2) Use the .CMD files from the DOS command line (in the MinGW
directory).

In addition to building SNFMulti.dll, the libSNFMulti.a and
libSNFmulti.def files are created.

There are also applications for linking with SNFMulti.dll:

1) The SNFMulti C++ test built with MinGW. This can be built with a
.CMD file in the MinGW directory, or a Code::Blocks project in the
CodeBlocks directory.

2) The SNFMulti C++ test built with Visual Studio 2008. This can be
built with solution file
VS2008/SNFMultiDLLExampleCsharp/SNFMultiDLLTestC++.sln.

3) A Visual Studio 2008 C# example application. This can be built
with solution file
VS2008/SNFMultiDLLExampleCsharp/SNFMultiDLLExampleCsharp.sln.

4) A Visual Studio 2008 VB example application. This can be built
with the solution file
VS2008/SNFMultiDLLExampleVB/SNFMultiDLLExampleVB.sln.

This package includes the following directories (each has a README
file with further information):

MinGW--Contains .CMD files for building SNFMulti.dll and associated
files, and also the C++ application SNFMultiTest. It uses the
source files in the SNFMulti, CodeDweller, and SNFMultiTest
directories. These directories must be present.

CodeBlocks--Contains the Code::Blocks project files for building
SNFMulti.dll and SNFMultiTest. It uses the source files in the
SNFMulti, CodeDweller, and SNFMultiTest directories. These
directories must be present.

SNFMultiTest--Contains the source for the C++ test application
SNFMultiTest.

VS2008--Contains the Visual Studio files for building the C# and VB
example applications, and the C++ test.

To build the applications in the MinGW, CodeBlocks, and VS2008
directories:

1) Ensure that the SNFMultiTest, SNFMulti, and CodeDweller
directories are present.

2) Install the 64-bit MinGW toolchain. Unpack the 64-bit toolchain
(e.g. mingw-w64-bin_i686-mingw_20090220.zip) into c:\MinGW-64. If
done correctly, c:\MinGW-64 should have the directories bin,
include, x86_64-pc-mingw32, and other directories. The MinGW .CMD
files and the Code::Blocks project files are configured to use the
64-bit toolchain in c:\MinGW-64.

3) Install VS 2008.

4) Follow the directions in each directorie's README file.
This is where the SNF SDK for Windows Package is kept.
Copyright (c) 2009 - 2010 ARM Research Laboratories
The SNFMulti.dll file is built using MinGW-64, the 64-bit MinGW
toolchain. There are two ways for building SNFMulti.dll:
1) Use the Code::Blocks project (in the CodeBlocks directory).
2) Use the .CMD files from the DOS command line (in the MinGW
directory).
In addition to building SNFMulti.dll, the libSNFMulti.a and
libSNFmulti.def files are created.
There are also applications for linking with SNFMulti.dll:
1) The SNFMulti C++ test built with MinGW. This can be built with a
.CMD file in the MinGW directory, or a Code::Blocks project in the
CodeBlocks directory.
2) The SNFMulti C++ test built with Visual Studio 2008. This can be
built with solution file
VS2008/SNFMultiDLLExampleCsharp/SNFMultiDLLTestC++.sln.
3) A Visual Studio 2008 C# example application. This can be built
with solution file
VS2008/SNFMultiDLLExampleCsharp/SNFMultiDLLExampleCsharp.sln.
4) A Visual Studio 2008 VB example application. This can be built
with the solution file
VS2008/SNFMultiDLLExampleVB/SNFMultiDLLExampleVB.sln.
This package includes the following directories (each has a README
file with further information):
MinGW--Contains .CMD files for building SNFMulti.dll and associated
files, and also the C++ application SNFMultiTest. It uses the
source files in the SNFMulti, CodeDweller, and SNFMultiTest
directories. These directories must be present.
CodeBlocks--Contains the Code::Blocks project files for building
SNFMulti.dll and SNFMultiTest. It uses the source files in the
SNFMulti, CodeDweller, and SNFMultiTest directories. These
directories must be present.
SNFMultiTest--Contains the source for the C++ test application
SNFMultiTest.
VS2008--Contains the Visual Studio files for building the C# and VB
example applications, and the C++ test.
To build the applications in the MinGW, CodeBlocks, and VS2008
directories:
1) Ensure that the SNFMultiTest, SNFMulti, and CodeDweller
directories are present.
2) Install the 64-bit MinGW toolchain. Unpack the 64-bit toolchain
(e.g. mingw-w64-bin_i686-mingw_20090220.zip) into c:\MinGW-64. If
done correctly, c:\MinGW-64 should have the directories bin,
include, x86_64-pc-mingw32, and other directories. The MinGW .CMD
files and the Code::Blocks project files are configured to use the
64-bit toolchain in c:\MinGW-64.
3) Install VS 2008.
4) Follow the directions in each directorie's README file.
To create a zipfile distribution:
1) Install jZip.
2) Edit BuildDistribution.cmd to specify the DISTDIR variable, and
optionally the TEMPDIR variable.
3) Run BuildDistribution. This creates a zip file in the current
directory with the name %DISTDIR%.zip.
Note: When you run BuildDistribution, you will get a message saying
that %DISTDIR%.zip could not be found. This message can be ignored.
Note: For more information on the procedure for creating a zipfile
distribution, see the BuildDistribution.cmd file and the
BuildDistribution\README file.

Cargando…
Cancelar
Guardar