SignExport

Testing SignExport property in ExportSample ( Component sample), I used all EncryptionStrength values but each time I got:

Exception thrown: ‘System.Runtime.InteropServices.SEHException’ in VideoOS.Toolkit.dll

Exception thrown: ‘VideoOS.Toolkit.ToolkitException’ in VideoOS.Toolkit.dll

Message was: Unable to connect to toolkit! (1), if I unchecked the SignExport, it works as expected. I am using Corporate version

Any help please ?

sounds like you are missing some DLLs in your solution. Please check that you have copied all the relevant files from the \BIN folder to your solution.

building sample code will trigger the post-build event to execute: CopyExportFiles.bat

ExportSample → [C:\Program](file:C:/Program) Files\Milestone\MIPSDK\ComponentSamples\ExportSample\bin\Debug\ExportSample.exe

1> C:VideoOS.Platform.SDK.dll

1> 1 File(s) copied

1> C:VideoOS.Platform.SDK.Export.dll

1> 1 File(s) copied

1> C:DBExporterClientMW.dll

1> 1 File(s) copied

1> C:AVIExporterClientMW.dll

1> 1 File(s) copied

1> C:boost_chrono-vc120-mt-1_57.dll

1> C:boost_regex-vc120-mt-1_57.dll

1> C:boost_serialization-vc120-mt-1_57.dll

1> C:boost_system-vc120-mt-1_57.dll

1> C:boost_thread-vc120-mt-1_57.dll

1> 5 File(s) copied

1> C:icudt48.dll

1> C:icuin48.dll

1> C:icuio48.dll

1> C:icule48.dll

1> C:iculx48.dll

1> C:icutu48.dll

1> C:icuuc48.dll

1> 7 File(s) copied

1> C:IMV1.dll

1> 1 File(s) copied

1> 0 File(s) copied

1> File not found - j2KCorex.dll

1> C:Mm025.dll

1> 1 File(s) copied

1> C:mfc120.dll

1> 1 File(s) copied

1> C:mfcm120.dll

1> 1 File(s) copied

1> C:msvcp120.dll

1> 1 File(s) copied

1> C:msvcr120.dll

1> 1 File(s) copied

1> File not found - python*.dll

1> 0 File(s) copied

1> C:xerces-c_3_1.dll

1> 1 File(s) copied

1> C:xqilla23.dll

1> 1 File(s) copied

1> C:VideoOS.Platform.Primitives.dll

1> 1 File(s) copied

1> C:VideoOS.DatabaseUtility.Common.dll

1> C:VideoOS.DatabaseUtility.MediaStorage.dll

1> 2 File(s) copied

1> C:VideoOS.Toolkit.dll

1> 1 File(s) copied

1> C:VideoOS.MM025Utility.dll

1> 1 File(s) copied

1> C:ToolkitFactoryProvider.dll

1> C:ToolkitSourcePlugin_mm025.dll

1> 2 File(s) copied

1> C:CoreToolkits.dll

1> 1 File(s) copied

========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

I copied the 2 missed files manually and still get same error ?

Later, I copied the whole bin folder then it works.