Environment
C++ in MFC using namespace Vieworks::vivix
C# in Winform using Vieworks.vivix.net
Discription
Prepare VIVIX SDK at first step
C++
CVivixSDK vivixSDK; WCHAR szModuleFileName[MAX_PATH]; GetModuleFileNameW(NULL, szModuleFileName, MAX_PATH); PathRemoveFileSpec(szModuleFileName); PathCombine(szModuleFileName, szModuleFileName, _T("Log")); nResult = SDK.LogPathSet(szModuleFileName); if (RESULT.RESULT_SUCCESS == SDK.Initialize()) { //Setting Detector&SCU Instance }
C#
VivixNet netSDK= new VivixNet(); string startpath = Application.StartupPath; netSDK.LogPathSet(startpath + @"\LogSDK"); if(RESULT.RESULT_SUCCESS == netSDK.Initialize()) { //Setting Detector&SCU Instance }