We try to migrate from DV to DD and we tried your VB example and an own example too.
Windows 7 64-Bit
VisualStudio 2010, VB.NET 4.0
AutoVue 20.2 DD
We have a simple WinForm and we have placed the AxJVueAXControl1 on it. When we close the form, it takes *5 seconds or longer* until the form closes.
It is the same with your example.
Is this a normal behaviour ? Is .NET waiting for Java to exit ?
Is there a way to accelerate it ?
Edited by: 944736 on 05.07.2012 16:33
This seems to be related to the ActiveX Interop layer in Windows Form. If the ActiveX is embbed in a native C++ Windows application then it takes less than a second to destroy the ActiveX control. It seems to be a known issue (http://social.msdn.microsoft.com/Forums/en-US/clr/thread/6abc49e0-d28d-4bda-8831-7dd3f6460a0a/).