Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

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

Grupo de Teaming del ClubDelphi

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 05-06-2008
pringaodoficina pringaodoficina is offline
Registrado
 
Registrado: jun 2008
Posts: 1
Poder: 0
pringaodoficina Va por buen camino
Aplicación programada con Delphi 5 quiero que funcione con Delphi 7

Compilo una aplicación programada con Delphi 5 y quiero que funcione con Delphi 7. Me dan los siguientes errores:

[Warning] ULibreri.pas(290): Unsafe code '@ operator'
[Warning] ULibreri.pas(291): Unsafe code '@ operator'
[Warning] ULibreri.pas(307): Unsafe type 'PChar'
[Warning] ULibreri.pas(309): Unsafe type 'Prog: PAnsiChar'
[Warning] ULibreri.pas(310): Unsafe type 'Prog: PAnsiChar'
[Warning] ULibreri.pas(310): Unsafe type 'Prog: PAnsiChar'
[Warning] ULibreri.pas(311): Unsafe type 'Prog: PAnsiChar'
[Warning] ULibreri.pas(313): Unsafe type 'Prog: PAnsiChar'
[Warning] ULibreri.pas(325): Unsafe type 'PChar'
[Warning] ULibreri.pas(327): Unsafe type 'PChar'
[Error] ULibreri.pas(470): Undeclared identifier: 'VarArrayCreate'
[Warning] ULibreri.pas(482): Unsafe code 'String index to var param'
[Error] ULibreri.pas(504): Undeclared identifier: 'VarArrayCreate'
[Warning] ULibreri.pas(520): Unsafe code 'String index to var param'
[Warning] ULibreri.pas(624): Unsafe code 'String index to var param'
[Warning] ULibreri.pas(639): Unsafe code 'String index to var param'
[Warning] ULibreri.pas(642): Unsafe code 'String index to var param'
[Error] ULibreri.pas(1331): Undeclared identifier: 'VarArrayOf'
[Error] ULibreri.pas(1332): Undeclared identifier: 'VarIsArray'
[Error] ULibreri.pas(1337): Undeclared identifier: 'VarArrayHighBound'
[Error] ULibreri.pas(1337): Undeclared identifier: 'VarArrayLowBound'
[Error] ULibreri.pas(1338): Undeclared identifier: 'VarArrayCreate'
[Error] ULibreri.pas(1394): Undeclared identifier: 'VarType'
[Warning] ULibreri.pas(1394): Comparing signed and unsigned types - widened both operands
[Warning] ULibreri.pas(1395): Comparing signed and unsigned types - widened both operands
[Warning] ULibreri.pas(1396): Comparing signed and unsigned types - widened both operands
[Warning] ULibreri.pas(1397): Comparing signed and unsigned types - widened both operands
[Warning] ULibreri.pas(1398): Comparing signed and unsigned types - widened both operands
[Error] ULibreri.pas(1409): Undeclared identifier: 'VarIsEmpty'
[Error] ULibreri.pas(1411): Undeclared identifier: 'VarIsNull'
[Error] ULibreri.pas(1416): Undeclared identifier: 'VarToStr'
[Error] ULibreri.pas(1424): Undeclared identifier: 'VarIsEmpty'
[Error] ULibreri.pas(1424): Undeclared identifier: 'VarIsNull'
[Warning] ULibreri.pas(1424): Combining signed and unsigned types - widened both operands
[Error] ULibreri.pas(1429): Undeclared identifier: 'VarToStr'
[Error] ULibreri.pas(1436): Undeclared identifier: 'Null'
[Error] ULibreri.pas(1451): Undeclared identifier: 'VarArrayDimCount'
[Error] ULibreri.pas(1461): Undeclared identifier: 'VarArrayLowBound'
[Error] ULibreri.pas(1462): Undeclared identifier: 'VarArrayHighBound'
[Error] ULibreri.pas(1497): Undeclared identifier: 'VarArrayDimCount'
[Error] ULibreri.pas(1512): Undeclared identifier: 'VarArrayLowBound'
[Error] ULibreri.pas(1513): Undeclared identifier: 'VarArrayHighBound'
[Warning] ULibreri.pas(2079): Unsafe type 'Pointer'
[Warning] ULibreri.pas(2083): Unsafe type 'PChar'
[Warning] ULibreri.pas(2086): Unsafe code 'GetMem'
[Warning] ULibreri.pas(2088): Unsafe type 'PChar'
[Warning] ULibreri.pas(2088): Unsafe type 'VerBuf: Pointer'
[Warning] ULibreri.pas(2089): Unsafe type 'VerBuf: Pointer'
[Warning] ULibreri.pas(2089): Unsafe type 'Pointer'
[Warning] ULibreri.pas(2096): Unsafe code 'FreeMem'
[Warning] ULibreri.pas(2106): Unsafe type 'PChar'
[Warning] ULibreri.pas(2111): Unsafe type 'MiPChar: PAnsiChar'
[Warning] ULibreri.pas(2113): Unsafe type 'MiPChar: PAnsiChar'
[Warning] ULibreri.pas(2114): Unsafe type 'MiPChar: PAnsiChar'
[Warning] ULibreri.pas(2116): Unsafe type 'MiPChar: PAnsiChar'
[Warning] ULibreri.pas(2123): Unsafe type 'PChar'
[Warning] ULibreri.pas(2128): Unsafe type 'MiPChar: PAnsiChar'
[Warning] ULibreri.pas(2130): Unsafe type 'MiPChar: PAnsiChar'
[Warning] ULibreri.pas(2131): Unsafe type 'MiPChar: PAnsiChar'
[Warning] ULibreri.pas(2133): Unsafe type 'MiPChar: PAnsiChar'
[Warning] ULibreri.pas(2175): Unsafe type 'PChar'
[Warning] ULibreri.pas(2188): Unsafe type 'PChar'
[Error] ULibreri.pas(2260): Undeclared identifier: 'VarArrayCreate'
[Error] ULibreri.pas(2261): Undeclared identifier: 'VarArrayHighBound'
[Error] ULibreri.pas(2283): Undeclared identifier: 'VarArrayLowBound'
[Error] ULibreri.pas(3820): Undeclared identifier: 'UnAssigned'
[Fatal Error] UFVacia.pas(90): Could not compile used unit '..\General\ULibreri.pas'

No soy experto en Delphi, pero he investigado bastante y no he encontrado ninguna posible solucion.
Responder Con Cita
  #2  
Antiguo 05-06-2008
Avatar de xEsk
[xEsk] xEsk is offline
Miembro Premium
 
Registrado: feb 2006
Posts: 454
Poder: 19
xEsk Va por buen camino
Creo que el problema tiene que ver con que entre Delphi 5 y Delphi 7 hay cambios importantes en el tema de los "Variant", "Ole", etc...

En pocas palabras, que no son compatibles, si me equivoco que alguien me corrija.

Por ahí leí (si no recuerdo mal) que una de las soluciones era usar las unit de Delphi5 en Delphi7, para evitar estos problemas de incompatibilidad, pero no lo he hecho ni necesitado nunca, así que hablo sólo de cosas que me parece haber leído.

Saludos.
Responder Con Cita
  #3  
Antiguo 05-06-2008
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is offline
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - España
Posts: 18.286
Poder: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
Por lo pronto prueba a añadir la unit Variants al uses y vuelve a compilar.
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita
  #4  
Antiguo 05-06-2008
Avatar de eduarcol
[eduarcol] eduarcol is offline
Miembro Premium
 
Registrado: ago 2003
Ubicación: En los estados Zulia y Merida de Venezuela
Posts: 4.151
Poder: 25
eduarcol Va por buen camino
en project --> options, la pestaña compiler messages, alli puedes quitar unos warning...
__________________
...Yo naci en esta ribera del arauca vibr@d0r
Soy hermano de la espuma,
de la garza, de la rosa y del sol...
Viva Venezuela
Responder Con Cita
Respuesta



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
Tarea programada en delphi drykea Varios 6 18-02-2008 16:59:19
Alternativa a los SynEdit que funcione en Delphi 3 standard ixMike OOP 2 28-10-2007 14:03:51
Cómo podría portar a GNU/Linux una aplicación hecha en Delphi nancy Garcia Linux 9 18-09-2006 11:37:14
Quiero hacer una aplicación Cliente/Servidor pmfras Varios 19 02-08-2006 20:21:33
Quiero Aprender Delphi Andree Varios 15 29-06-2004 09:12:26


La franja horaria es GMT +2. Ahora son las 11:10:24.


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