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 06-08-2017
jolunavi jolunavi is offline
Registrado
NULL
 
Registrado: ago 2017
Posts: 8
Poder: 0
jolunavi Va por buen camino
correcto ??

Eres increible Agustin !

....pero ahora me salen estos mensajes:
Código:
[dcc32 Hint] inicio.pas(231): H2443 Inline function 'MessageDlg' has not been expanded because unit 'System.UITypes' is not specified in USES list
[dcc32 Hint] inicio.pas(235): H2443 Inline function 'MessageDlg' has not been expanded because unit 'System.UITypes' is not specified in USES list
[dcc32 Hint] inicio.pas(250): H2443 Inline function 'MessageDlg' has not been expanded because unit 'System.UITypes' is not specified in USES list
[dcc32 Hint] inicio.pas(255): H2443 Inline function 'MessageDlg' has not been expanded because unit 'System.UITypes' is not specified in USES list
voy a tratar de auto responderme: (dime por favor si me eqivoco)
debo agregar: 'System.UITypes' en la parte superior del archivo ...osea en Uses

ejemplo:
Código Delphi [-]
unit inicio;

interface

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Imaging.pngimage, Vcl.Imaging.jpeg,
   Vcl.ExtCtrls, Registry, System.UITypes;

type
  TForm1 = class(TForm)
.............
................
...................


que dices? ...es correcto?
mañana te tengo alguna novedad

Pueden dejar este hilo abierto ??
...para poder seguir agregando dificultades que se me presenten!
o deberia crear nuevos hilos??

Muchas Gracias por su ayuda!
Responder Con Cita
  #2  
Antiguo 06-08-2017
Avatar de AgustinOrtu
[AgustinOrtu] AgustinOrtu is offline
Miembro Premium
NULL
 
Registrado: ago 2013
Ubicación: Argentina
Posts: 1.858
Poder: 15
AgustinOrtu Es un diamante en brutoAgustinOrtu Es un diamante en brutoAgustinOrtu Es un diamante en brutoAgustinOrtu Es un diamante en bruto
Lo mas correcto es que cada duda este en un nuevo hilo, esto para facilitar las busquedas

Con respecto a tu segunda consulta, en este caso se trata de una sugerencia o hint del compilador, es decir que tu codigo es correcto pero hay algunos matices que quiza quieras revisar.
En particular se trata de que no pudo compilar la funcion MessageDlg en linea, o como se conocen en ingles inline. En pocas palabras es una optimizacion que realiza el compilador cuando traduce a codigo maquina. Podes encontrar mas informacion al respecto aca.

En efecto el compilador te esta diciendo que no pudo aplicar dicha optimizacion porque para hacerlo requiere que la unidad System.UITypes este incluida en la clausula uses. Asi que tu solucion es correcta, agregas la unidad al uses y listo
Responder Con Cita
  #3  
Antiguo 06-08-2017
jolunavi jolunavi is offline
Registrado
NULL
 
Registrado: ago 2017
Posts: 8
Poder: 0
jolunavi Va por buen camino
esta bien.
creare un nuevo hilo para cada consulta o duda!
Muchas Gracias AgustinOrtu
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
Error Incompatible Types Bant Varios 3 11-04-2016 08:45:26
Incompatible types: 'PWideChar' and 'string' JuanOrtega Varios 3 30-04-2015 21:26:48
Incompatible types: 'Integer' and 'Currency' Lore Castillo Varios 2 09-02-2006 21:49:33
Incompatible types: 'tmessagenbuttons' and 'integer' con App.Messagebox purhé Varios 4 11-07-2005 09:25:01
fallo : incompatible types : String and TQRDBText chele Impresión 7 27-10-2004 16:10:17


La franja horaria es GMT +2. Ahora son las 04:34:45.


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