FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
||||
|
||||
Delphi 2010 Unicode
Tengo el Delphi 2010 todo bien lo hize trabajar, pero me saca warnings de unicode hasta del QuickReport 5.0 y de librerias del mismo Delphi.
Una ayuda por favor, otra cosa Delphi Handbook esta en ingles. Nota: El Sistema que migre de Delhpi 7 a Delphi 2010 funciona solo que me salen como 98 warnings cuando compilo en BUILD y ninguno cuando Compilo normal. |
#2
|
|||
|
|||
Hola...
Al pasar un proyecto desde Delphi 7 a Delphi 2009 - 2010 debes tener en cuenta todo lo relacionado al Unicode. Muchos de los warning que obtienes me imagino que son sobre la posible pérdida de información al tratar de hacer casting de tipos Ansi a Unicode. En la web puedes encontrar fácilmente la solución a esos warnings. Solo has una búsqueda en Google sobre el warning y Delphi 2010 y obtendrás como solucionarlo. Saludos... |
#3
|
|||
|
|||
podrias agregar algunos warning (que te dicen estos) para ver si te podemos ayudar
seguro son: is deprecated o is specific to a platform. |
#4
|
||||
|
||||
Estos son los mensajes warnigns... aver si me dan una manito gracias.
Checking project dependencies... Building AsPlan.dproj (Debug configuration) [DCC Warning] SPLASH.PAS(80): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit. [DCC Warning] SPLASH.PAS(761): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit. [DCC Warning] QRExpr.pas(281): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(317): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(320): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(487): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(512): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString'[/delphi] [DCC Warning] QRExpr.pas(514): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(686): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(806): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(811): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(825): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1013): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1014): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1060): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit. [DCC Warning] QRExpr.pas(1063): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit. [DCC Warning] QRExpr.pas(1095): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1130): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1147): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1157): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1169): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1175): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1442): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1487): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1490): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1693): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1724): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1729): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1750): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1751): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1762): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1778): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1778): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1785): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1802): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1802): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1809): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1828): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1829): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1830): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1831): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1832): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1832): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1839): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1856): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1874): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1928): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1929): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1930): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(1930): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(1933): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRExpr.pas(2480): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpr.pas(2526): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRCtrls.pas(1724): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRCtrls.pas(1733): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRCtrls.pas(2756): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString' [DCC Warning] QRCtrls.pas(2916): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] grimgctrl.pas(31): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit. [DCC Warning] qrexport.pas(1022): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QRPDFfilt.pas(1320): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString' [DCC Warning] QRPDFfilt.pas(1324): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] QRPDFfilt.pas(1479): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString' [DCC Warning] QRPDFfilt.pas(2399): W1057 Implicit string cast from 'string' to 'UTF8String' [DCC Warning] QRExtra.pas(196): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] QRExtra.pas(196): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString' [DCC Warning] QRExtra.pas(197): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] QRCompEd.pas(287): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit. [DCC Hint] qrxdocument.pas(2121): H2164 Variable 'recnode' is declared but never used in 'TQRXDocument.PDFText' [DCC Hint] qrxdocument.pas(2122): H2164 Variable 'rec' is declared but never used in 'TQRXDocument.PDFText' [DCC Hint] qrxdocument.pas(2128): H2164 Variable 'pitem' is declared but never used in 'TQRXDocument.PDFText' [DCC Hint] qrxdocument.pas(87): H2219 Private symbol 'FCompressImages' declared but never used [DCC Warning] QuickRpt.pas(2758): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QuickRpt.pas(3063): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QuickRpt.pas(3936): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString' [DCC Warning] QuickRpt.pas(6652): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QuickRpt.pas(6660): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QuickRpt.pas(6661): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QuickRpt.pas(6662): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpbld.pas(602): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Warning] QRExpbld.pas(609): W1057 Implicit string cast from 'ShortString' to 'string' [DCC Hint] QRPrntr.pas(2830): H2077 Value assigned to 'PDevMode' never used [DCC Hint] QRPrntr.pas(2819): H2164 Variable 'Driver_info_2' is declared but never used in 'GPrinter' [DCC Hint] QRPrntr.pas(2820): H2164 Variable 'Retrieved' is declared but never used in 'GPrinter' [DCC Hint] QRPrntr.pas(2821): H2164 Variable 'hPrinter' is declared but never used in 'GPrinter' [DCC Hint] QRPrntr.pas(2823): H2164 Variable 'devSize' is declared but never used in 'GPrinter' [DCC Hint] QRPrntr.pas(3923): H2077 Value assigned to 'sizefound' never used [DCC Hint] QRPrntr.pas(3891): H2077 Value assigned to 'H' never used [DCC Hint] QRPrntr.pas(3890): H2077 Value assigned to 'V' never used [DCC Warning] MSGCLV.PAS(347): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit. [DCC Warning] ABOUT.PAS(170): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] ABOUT.PAS(171): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] ABOUT.PAS(172): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] ABOUT.PAS(173): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] ABOUT.PAS(174): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] ABOUT.PAS(175): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] ABOUT.PAS(176): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] ABOUT.PAS(177): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] ABOUT.PAS(179): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] ABOUT.PAS(180): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] ABOUT.PAS(181): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] Internet.pas(385): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] Internet.pas(624): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] Internet.pas(791): W1057 Implicit string cast from 'AnsiString' to 'string' [DCC Warning] PASSWORD.PAS(359): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit. [DCC Warning] PASSWORD.PAS(377): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString' Success Elapsed time: 00:00:07.1 |
#5
|
|||
|
|||
A mi me dio tambien algunos errores de ese estilo, cuando me pase a versiones nuevas... busque en san google y encontre esto.
http://chee-yang.blogspot.com/2008/1...9-unicode.html tambien tenes este hilo http://www.clubdelphi.com/foros/showthread.php?t=64726 o http://www.clubdelphi.com/foros/showthread.php?t=60227 o http://www.clubdelphi.com/foros/showthread.php?t=36584 no puedo poner link todavia porque soy novato (bueno parece que si deje de ser novato yupi, wiiiiiiiiiiiiii) Última edición por elarys fecha: 21-05-2010 a las 15:52:53. |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
WhitePaper Delphi Unicode | rruz | Noticias | 0 | 24-11-2008 23:51:45 |
Delphi 2009 Unicode | JXJ | La Taberna | 0 | 25-09-2008 02:04:54 |
Sobre Delphi & Unicode | aeff | OOP | 2 | 17-10-2006 22:49:34 |
Delphi y Unicode | fausto | Varios | 0 | 03-02-2006 13:33:47 |
Unicode Vs Delphi | PTW | Varios | 0 | 23-01-2006 15:01:29 |
|