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

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 20-05-2010
Avatar de RebeccaGL
RebeccaGL RebeccaGL is offline
Miembro
 
Registrado: ene 2008
Posts: 199
Poder: 17
RebeccaGL Va por buen camino
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.
Responder Con Cita
  #2  
Antiguo 20-05-2010
[maeyanes] maeyanes is offline
Capo de los Capos
 
Registrado: may 2003
Ubicación: Campeche, México
Posts: 2.732
Poder: 24
maeyanes Va por buen camino
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...
Responder Con Cita
  #3  
Antiguo 20-05-2010
elarys elarys is offline
Miembro
 
Registrado: abr 2007
Posts: 94
Poder: 18
elarys Va por buen camino
podrias agregar algunos warning (que te dicen estos) para ver si te podemos ayudar
seguro son: is deprecated o is specific to a platform.
Responder Con Cita
  #4  
Antiguo 21-05-2010
Avatar de RebeccaGL
RebeccaGL RebeccaGL is offline
Miembro
 
Registrado: ene 2008
Posts: 199
Poder: 17
RebeccaGL Va por buen camino
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
Responder Con Cita
  #5  
Antiguo 21-05-2010
elarys elarys is offline
Miembro
 
Registrado: abr 2007
Posts: 94
Poder: 18
elarys Va por buen camino
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.
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
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


La franja horaria es GMT +2. Ahora son las 22:38:17.


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