Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Varios
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Grupo de Teaming del ClubDelphi

 
 
Herramientas Buscar en Tema Desplegado
  #6  
Antiguo 16-03-2016
Rolando Glez Rolando Glez is offline
Miembro
 
Registrado: nov 2004
Ubicación: Havana
Posts: 62
Poder: 20
Rolando Glez Va por buen camino
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 ?
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

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


La franja horaria es GMT +2. Ahora son las 10:05:04.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi