Fórum de Suporte Digivoice
Você não está logado.
Bom dia,
estou com problemas ao adicionar o componente OCX em um projeto. Ao atualizar a versão da voicerlib para 4.3.0.1 RC3 o seguinte erro é exibido ao adicionar o componente em um formulário:
---------------------------
Microsoft Visual Studio
---------------------------
Failed to create component 'AxHost'. The error message follows:
'System.Runtime.InteropServices.COMException (0x80070008): A wrapper assembly is not registered for this type library.
at System.Windows.Forms.Design.DocumentDesigner.AxToolboxItem.CreateComponentsCore(IDesignerHost host)
at System.Drawing.Design.ToolboxItem.CreateComponentsCore(IDesignerHost host, IDictionary defaultValues)
at System.Drawing.Design.ToolboxItem.CreateComponents(IDesignerHost host, IDictionary defaultValues)
at System.Windows.Forms.Design.OleDragDropHandler.CreateTool(ToolboxItem tool, Control parent, Int32 x, Int32 y, Int32 width, Int32 height, Boolean hasLocation, Boolean hasSize, ToolboxSnapDragDropEventArgs e)'
---------------------------
OK
---------------------------
Na versão 4.3.0.0 RC4 o problema não ocorre. O que poderia ser?
Estou desenvolvendo em C#.
Offline
Olá!
Para feedback do fórum:
No acesso remoto, observamos que ao abrir um projeto novo e colar o componente OCX o erro não acontece.
Talvez esteja faltando alguma configuração específica no Visual Studio ou no projeto.
Atenciosamente.
tiagodib,
Para resolver este problema Leia o tópico "Problema ao ligar a monitoração de áudio - C#" - http://www.digivoice.com.br/forum2/viewtopic.php?id=2795
Ali você vai encontrar informações sobre como usar o OCX no seu projeto c# e também tem o meu projeto para download. Ele esta parcialmente funcionando e também possui tratamento de eventos.
Offline