Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:getting_started [2018/04/05 16:21] yjjung [Isolation - Thread Safe] |
en:getting_started [2021/09/07 19:01] kkshin [Create a new project in Visual Studio] |
||
---|---|---|---|
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** can call a single API from multiple threads at the same time. | + | **BioStar 2.x SDK** is designed to allow you to call a single API from multiple threads at the same time. |
\\ | \\ | ||
Line 163: | Line 163: | ||
----- | ----- | ||
**//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 it 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 ''Pre-build event command line of the Build Events''.\\ |
+ | <WRAP group 100%> | ||
+ | ^SDK Version ^Platform ^Input Information^ | ||
+ | |Before V2.8.2 |-|<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|}} | ||