I am trying to migrate some custom code that was used with FormReader 6.5 to FlexiCapture 11 and I am having trouble replicating some of the old behaviors.
1. First of all, is there a way the code can invoke a method that the menu can do or a replacement for formReader.DoCommand(FineFormMenuItem.FINE_FORM_MI_REC);?
2. Is there a replacement for FormReader.Batch.Documents.ReadAll() or a way to start recognition from an external code element?
3. Is there a way to delete documents from the code that will not force the application to crash? I am currently using the following but this causes the app to crash in Controller.dll as soon as control is returned to FlexiCapture. An unable to read memory error.
_batchWindow is a reference to the ITaskWindow.
This is called as a User Command.
Problem Event Name: APPCRASH
Application Name: FlexiCapture.exe
Application Version: 11.0.1.1138
Application Timestamp: 5418748a
Fault Module Name: controller.dll
Fault Module Version: 11.0.1.1138
Fault Module Timestamp: 54186a1a
Exception Code: c0000005
Exception Offset: 001e00e0
OS Version: 6.3.9600.2.0.0.272.7
Locale ID: 1033
1. First of all, is there a way the code can invoke a method that the menu can do or a replacement for formReader.DoCommand(FineFormMenuItem.FINE_FORM_MI_REC);?
2. Is there a replacement for FormReader.Batch.Documents.ReadAll() or a way to start recognition from an external code element?
3. Is there a way to delete documents from the code that will not force the application to crash? I am currently using the following but this causes the app to crash in Controller.dll as soon as control is returned to FlexiCapture. An unable to read memory error.
while(_batchWindow.Batch.Documents.Count > 0)
_batchWindow.Batch.DeleteDocument(_batchWindow.Batch.Documents[0]);
_batchWindow is a reference to the ITaskWindow.
This is called as a User Command.
Problem Event Name: APPCRASH
Application Name: FlexiCapture.exe
Application Version: 11.0.1.1138
Application Timestamp: 5418748a
Fault Module Name: controller.dll
Fault Module Version: 11.0.1.1138
Fault Module Timestamp: 54186a1a
Exception Code: c0000005
Exception Offset: 001e00e0
OS Version: 6.3.9600.2.0.0.272.7
Locale ID: 1033
コメント
3件のコメント
annyoyboye,
It might be best to actually contact your local support in this case. They can look at your project and possible create what you want to do differently in FlexiCapture 11
投稿コメントは受け付けていません。