FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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. |
#3
|
||||
|
||||
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. |
#4
|
||||
|
||||
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 |
|
|
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 |
|