Переглянути джерело

Created new SDK.Created new SDK, version 3.2. Procedure:

  1) In MinGW-32/MinGW-64:  compileSNFMultiDLL.cmd, buildSNFMultiDLL.cmd,
     buildSNFMultiTestDLL.cmd, buildvs2008SNFMultiImportLib.cmd (vs2008
     prompt), run SNFMultiTest.exe, installSNFMultiLibrary.cmd.

  2) Built/ran VS2008CPPSample, x32 and x64.

  3) Built/ran VS2008CSSample, any, x32 and x64.

  4) Built/ran VS2008VBSample, any, x32 and x64.

  5) Ran BuildDistribution.cmd.  This created the .zip file.


git-svn-id: https://svn.microneil.com/svn/PKG-SNF-SDK-WIN/trunk@27 7d91e7c8-5a61-404e-b06a-95855fde9112
master
adeniz 9 роки тому
джерело
коміт
6c686de4c9

BIN
32bitDll/snfmulti.dll Переглянути файл


BIN
32bitDll/vs2008_snfmulti.exp Переглянути файл


BIN
32bitDll/vs2008_snfmulti.lib Переглянути файл


BIN
64bitDll/snfmulti.dll Переглянути файл


BIN
64bitDll/vs2008_snfmulti.exp Переглянути файл


BIN
64bitDll/vs2008_snfmulti.lib Переглянути файл


+ 2
- 2
CSSample/main.cs Переглянути файл

@@ -20,8 +20,8 @@ namespace SNFMultiDLLExampleCsharp
#region DLL Imports
// Location of SNFMulti.dll.
//const string SNFMULTI_DLL = "..\\..\\..\\64bitDll\\SNFMulti.dll"; // Set CPU type to "Any CPU"
//const string SNFMULTI_DLL = "..\\..\\..\\..\\64bitDll\\SNFMulti.dll"; // Set CPU type to "x64
const string SNFMULTI_DLL = "..\\..\\..\\..\\32bitDll\\SNFMulti.dll"; // Set CPU type to "x86"
const string SNFMULTI_DLL = "..\\..\\..\\..\\64bitDll\\SNFMulti.dll"; // Set CPU type to "x64
//const string SNFMULTI_DLL = "..\\..\\..\\..\\32bitDll\\SNFMulti.dll"; // Set CPU type to "x86"
// int setThrottle(int Threads); /* Set scan thread limit. */
[DllImport(SNFMULTI_DLL, CharSet = CharSet.Auto, EntryPoint = "setThrottle", CallingConvention = CallingConvention.Winapi)]

BIN
SNFMultiSDK_Windows_3.2.zip Переглянути файл


BIN
SNFMultiSDK_Windows_3.2/32bitDll/snfmulti.dll Переглянути файл


BIN
SNFMultiSDK_Windows_3.2/32bitDll/vs2008_snfmulti.exp Переглянути файл


BIN
SNFMultiSDK_Windows_3.2/32bitDll/vs2008_snfmulti.lib Переглянути файл


BIN
SNFMultiSDK_Windows_3.2/64bitDll/snfmulti.dll Переглянути файл


BIN
SNFMultiSDK_Windows_3.2/64bitDll/vs2008_snfmulti.exp Переглянути файл


BIN
SNFMultiSDK_Windows_3.2/64bitDll/vs2008_snfmulti.lib Переглянути файл


+ 2
- 2
SNFMultiSDK_Windows_3.2/CSSample/main.cs Переглянути файл

@@ -20,8 +20,8 @@ namespace SNFMultiDLLExampleCsharp
#region DLL Imports
// Location of SNFMulti.dll.
//const string SNFMULTI_DLL = "..\\..\\..\\64bitDll\\SNFMulti.dll"; // Set CPU type to "Any CPU"
//const string SNFMULTI_DLL = "..\\..\\..\\..\\64bitDll\\SNFMulti.dll"; // Set CPU type to "x64
const string SNFMULTI_DLL = "..\\..\\..\\..\\32bitDll\\SNFMulti.dll"; // Set CPU type to "x86"
const string SNFMULTI_DLL = "..\\..\\..\\..\\64bitDll\\SNFMulti.dll"; // Set CPU type to "x64
//const string SNFMULTI_DLL = "..\\..\\..\\..\\32bitDll\\SNFMulti.dll"; // Set CPU type to "x86"
// int setThrottle(int Threads); /* Set scan thread limit. */
[DllImport(SNFMULTI_DLL, CharSet = CharSet.Auto, EntryPoint = "setThrottle", CallingConvention = CallingConvention.Winapi)]

+ 4
- 4
VBSample/main.vb Переглянути файл

@@ -12,8 +12,8 @@ Module SNFMultiDLLExample
' Location of SNFMulti.dll.
'Const SNFMULTI_DLL As String = "..\..\..\..\64bitDll\SNFMulti.dll" ' Set CPU type to "Any CPU"
'Const SNFMULTI_DLL As String = "..\..\..\..\..\64bitDll\SNFMulti.dll" ' Set CPU type to "x64"
Const SNFMULTI_DLL As String = "..\..\..\..\..\32bitDll\SNFMulti.dll" ' Set CPU type to "x86"
Const SNFMULTI_DLL As String = "..\..\..\..\..\64bitDll\SNFMulti.dll" ' Set CPU type to "x64"
'Const SNFMULTI_DLL As String = "..\..\..\..\..\32bitDll\SNFMulti.dll" ' Set CPU type to "x86"
'int setThrottle(int Threads); /* Set scan thread limit. */
'int startupSNF(char* Path); /* Start SNF with configuration. */
@@ -108,8 +108,8 @@ Module SNFMultiDLLExample
'Const LicenseID As String = "licensid" ' SNF License ID can be passed
'Const Authentication As String = "authentication" ' directly or read from the
' configuration. OEMs go direct!
Const ConfigurationPath As String = "..\..\..\snf_engine.xml" ' For "Any CPU" platform.
'Const ConfigurationPath As String = "..\..\..\..\snf_engine.xml" ' For "x86" or "x64" platforms.
'Const ConfigurationPath As String = "..\..\..\snf_engine.xml" ' For "Any CPU" platform.
Const ConfigurationPath As String = "..\..\..\..\snf_engine.xml" ' For "x86" or "x64" platforms.
Const IPToTest As UInt32 = &HC22384E ' Same as IP 12.34.56.78

Завантаження…
Відмінити
Зберегти