Présentation
L'interop VocalStart peut être référencée au coeur de n'importe quel exécutable windows compatible .NET (C#, J#, VB.NET, C++.CLI...)
Elle permet d’exécuter un appel VocalStart en direct.
Exemple tiré du projet VocalStartTesteur :
VocalStartObj oBJ = new VocalStartObj();
oBJ.Action = (Actions)ActionCombo.SelectedIndex;
oBJ.ReCognitionType = (RecognitionTypes)ReCognitionTypeCombo.SelectedIndex;
oBJ.EditorType = (EditorTypes)EditorTypeCombo.SelectedIndex;
oBJ.WindowsState = (WindowsStates)WindowCombo.SelectedIndex;
oBJ.IdentValue = IdentValueText.Text;
oBJ.JobTitle = JobTitleText.Text;
oBJ.Service = ServiceText.Text;
oBJ.UserLogin = UserLogon.Text;
oBJ.RecipientLogin = RecipientLoginText.Text;
oBJ.Comment = CommentText.Text;
oBJ.ExtIdentifier1 = ExtIdentifier1Text.Text;
oBJ.ExtIdentifier2 = ExtIdentifier2Text.Text;
oBJ.ExtIdentifier3 = ExtIdentifier3Text.Text;
oBJ.ExtIdentifier4 = ExtIdentifier4Text.Text;
oBJ.ExtIdentifier5 = ExtIdentifier5Text.Text;
oBJ.ExtIdentifier6 = ExtIdentifier6Text.Text;
oBJ.ExtIdentifier7 = ExtIdentifier7Text.Text;
oBJ.ExtIdentifier8 = ExtIdentifier8Text.Text;
oBJ.ExtIdentifier9 = ExtIdentifier9Text.Text;
oBJ.ExtIdentifier10 = ExtIdentifier10Text.Text;
oBJ.TemplatePath = ModeleText.Text;
oBJ.ShouldMinimizeOnFinish = ShouldMinimizeOnFinishCb.Checked;
new VocalStartClient(oBJ);