Thanks for the reply.
The example project is still showing
"ImageViewerWpfControl implementation not loaded"
at runtime.
I found out that I was using the MIPSDK from 2017 R3,
which I then installed both the:
-
MIP SDK 2018 R3 - Redistributable Installer x64
-
MIP SDK 2018 R3 - Redistributable Installer x86
From https://www.milestonesys.com/my-milestone/msp/mip-sdk/
Problem still exists.
--------------------------------------------------------------------------------
I suspect the compatibility between those versions,
so I uninstalled both the x64 and x86 MIPSDK of 2017 R3,
and DELETED all the SDK files left in both Program Files and Program Files(x64)
before I reinstall MIPSDK_Installer_2018R3.msi
Now that I have a working example of PlaybackWpfUser from this SDK, but
I’m still have problem porting the code into my working project where
ImageViewerWpfControl is needed.
--------------------------------------------------------------------------------
The program throws the following exception when I try to initialize:
VideoOS.Platform.SDK.Export.Environment.Initialize();
System.IO.FileNotFoundException: ‘Could not load file or assembly ‘VideoOS.Toolkit.dll’ or one of its dependencies. The specified module could not be found.’
--------------------------------------------------------------------------------
I’m using the same set of Milestone VideoOS *.dll files as in the
PlaybackWpfUser project, except that my project is running in
.NetFramework v4.6.1 instead of v4.5 in PlaybackWpfUser.
PlaybackWpfUser has a Main() function to initialize the following:
VideoOS.Platform.SDK.Environment.Initialize();
VideoOS.Platform.SDK.UI.Environment.Initialize();
VideoOS.Platform.SDK.Export.Environment.Initialize();
in its App.xaml.cs
while in my case, the Main() function is auto generated in App.g.i.cs
when I build the project.
Regards,
BC Chang