![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
![]() |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
|
|
#1
|
|||
|
|||
|
Aclarando lo de BUG
Su significado es Borland User Group (BUG), que coincidencia verdad pues resulta que tengo un BUG (error) en los programas
|
|
#2
|
|||
|
|||
|
Es todo un problema darle solucion a este bug
Leyendo informacion me encontre con este problema
Note: if you are using Delphi 6 you will encounter a problem that is still present even with Update Pack 2 installed. The type library importer has a bug where the parameters to Automation events are incorrectly dispatched (they are sent in reverse order) meaning that all the Automation events operate incorrectly (if at all). You can avoid this by importing the type library in Delphi 5 or 7 and using the generated type library import unit in Delphi 6. A Delphi 6 compatible package is supplied with this article's files (it uses a Delphi 5 generated type library import unit). Note: The Delphi 7 type library importer has been improved to produce more accurate Pascal representations of items in the type library than Delphi 5 did (and than Delphi 6 tried to). As a result of this, the event handlers will often have different parameter lists in the Delphi 7 imported type library. This means that the sample programs won't compile with Delphi 7 with the true Delphi 7 SAPI type library import unit. If you wish, you can write late bound Automation that calls CreateOleObject to instantiate the Automation objects. In the case of the SpVoice interface, you would execute: var SpVoice: Variant; ... SpVoice := CreateOleObject('SAPI.SpVoice') La verdad es que es todo un lio para que corra el ejemplo sumistrado si es que corre pues tiene un bug en delphi 6 y tampoco corre en delphi 7 y no tengo el delphi 5 que es donde parece ser que debe correr. Estoy interpretando bien lo que dicen estas notas ? |
|
#3
|
|||
|
|||
|
"resuelto" el problema del bug de Delphi 6
Hola la solucion es remplazar la unit speechlib_TLB que esta en la carpeta import de delphi 6 generada por el pack de delphi 6 por la generada por el pack de delphi 5 un vez hecho esto los ejemplos corren perfectamente, bueno a modo de informacion cuando se corre el ejemplo de comandos y ud dice por el microfono "red" el programa "escucha" y cambia los bordes de la forma por el color rojo asi como cuando se dice "blue" lo pone en azul, gracias a Dec por su colaboracion para poder abordar este tema.
![]() |
![]() |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| lector de texto SAPI.SpVoice | koiji | API de Windows | 10 | 07-11-2014 11:45:04 |
| Llamada a Servicios Web desde Delphi 2006 (Delphi for Microsoft Win32) | lacovera | Internet | 2 | 27-06-2007 16:54:29 |
| Microsoft publica el Service Pack 1 para Microsoft SQL Server 2005 | vtdeleon | MS SQL Server | 0 | 23-04-2006 08:37:37 |
| componentes para trabajar sobre Microsoft sql server con Delphi 6 | ALMERA | Conexión con bases de datos | 3 | 11-05-2005 11:51:52 |
| Ayuda para SAPI | Duc | API de Windows | 2 | 28-07-2004 17:31:16 |
|