Ayuda
Publicado por Pepe (1 intervención) el 05/06/2008 15:44:35
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 '..GeneralULibreri.pas'
No soy experto en Delphi, pero he investigado bastante y no he encontrado ninguna posible solucion.
[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 '..GeneralULibreri.pas'
No soy experto en Delphi, pero he investigado bastante y no he encontrado ninguna posible solucion.
Valora esta pregunta


0