Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
en:getting_started [2017/07/20 15:23] 127.0.0.1 external edit |
en:getting_started [2021/09/06 11:28] mark |
||
---|---|---|---|
Line 144: | Line 144: | ||
**BioStar 1.x SDK** needs to have a 'lock mechanism' put in place by a developer to avoid a single API being called from multiple threads at the same time. \\ | **BioStar 1.x SDK** needs to have a 'lock mechanism' put in place by a developer to avoid a single API being called from multiple threads at the same time. \\ | ||
- | **BioStar 2.x SDK** is designed to return an error when another thread calls an API that is already in use. | + | **BioStar 2.x SDK** is designed to allow you to call a single API from multiple threads at the same time. |
\\ | \\ | ||
Line 164: | Line 164: | ||
**//C#//** | **//C#//** | ||
- Select the library directory from the SDK package and copy to the project directory. | - Select the library directory from the SDK package and copy to the project directory. | ||
- | - Modification of the project properties is required to use the right DLL for the platform.\\ Open the project properties page and enter as below on the 'Build Events' command line.\\ <code>copy "$(ProjectDir)lib\$(PlatformTarget)\BS_SDK_V2.dll" "$(TargetDir)"</code> | + | - Modification of the project properties is required to use the right DLL for the platform.\\ Open the project properties page and enter as below on the 'Build Events' command line.\\ |
+ | <WRAP group 100%> | ||
+ | ^SDK Version ^Platform ^Input Information ^ | ||
+ | |Before V2.8.1|- |<code> | ||
+ | copy "$(ProjectDir)lib\$(PlatformTarget)\BS_SDK_V2.dll" "$(TargetDir)" | ||
+ | copy "$(ProjectDir)lib\$(PlatformTarget)\libeay32.dll" "$(TargetDir)" // OpenSSL 1.0.2n | ||
+ | copy "$(ProjectDir)lib\$(PlatformTarget)\libssl32.dll" "$(TargetDir)" // OpenSSL 1.0.2n | ||
+ | copy "$(ProjectDir)lib\$(PlatformTarget)\ssleay32.dll" "$(TargetDir)" // OpenSSL 1.0.2n | ||
+ | </code> | | | ||
+ | |later V2.8.2|x86 |<code> | ||
+ | copy "$(ProjectDir)lib\$(PlatformTarget)\BS_SDK_V2.dll" "$(TargetDir)" | ||
+ | copy "$(ProjectDir)lib\$(PlatformTarget)\libssl-1_1.dll" "$(TargetDir)" // OpenSSL 1.1.1i | ||
+ | copy "$(ProjectDir)lib\$(PlatformTarget)\libcrypto-1_1.dll" "$(TargetDir)" // OpenSSL 1.1.1i | ||
+ | </code> | | | ||
+ | |later V2.8.2|x64 |<code> | ||
+ | copy "$(ProjectDir)lib\$(PlatformTarget)\BS_SDK_V2.dll" "$(TargetDir)" | ||
+ | copy "$(ProjectDir)lib\$(PlatformTarget)\libssl-1_1-x64.dll" "$(TargetDir)" // OpenSSL 1.1.1i | ||
+ | copy "$(ProjectDir)lib\$(PlatformTarget)\libcrypto-1_1-x64.dll" "$(TargetDir)" // OpenSSL 1.1.1i | ||
+ | </code> | | | ||
+ | </WRAP> | ||
- Copy **SFApi.cs**, **SFEnum.cs**, **SFStruct.cs** from the SDK package example codes.\\ {{:ko:pre-build_event_command_line.png?nolink&1000|}} | - Copy **SFApi.cs**, **SFEnum.cs**, **SFStruct.cs** from the SDK package example codes.\\ {{:ko:pre-build_event_command_line.png?nolink&1000|}} | ||