Ver Mensaje Individual
  #15  
Antiguo 02-09-2006
Avatar de dec
dec dec is offline
Moderador
 
Registrado: dic 2004
Ubicación: Alcobendas, Madrid, España
Posts: 13.107
Reputación: 34
dec Tiene un aura espectaculardec Tiene un aura espectacular
Hola,

Para mí tengo que sí que podrías utilizar los recursos de más arriba en Delphi 6, pero, es cuestión de atarle el cascabel al gato... tendrás que hacer alguna que otra prueba. Por ejemplo, ¿porqué no inicias un nuevo proyecto e intentas mostrar alguna constante que sepas que está traducida en los "nuevos recursos" a ver qué pasa? Es posible que te funcione, y, entonces, el problema pasaría a estar en el proyecto en que tratas de utilizar los recursos y no en los propios recursos.

A continuación la ayuda de Delphi acerca del error del compilador de que estamos tratando.

Cita:
Empezado por Ayuda de Delphi

Unit <element> was compiled with a different version of <element>.<element>

This fatal error occurs when the declaration of symbol declared in the interface part of a unit has changed, and the compiler cannot recompile a unit that relies on this declaration because the source is not available to it.

There are several possible solutions - recompile Unit1 (assuming you have the source code available), use an older version of Unit2 or change Unit2, or get a new version of Unit1 from whoever has the source code.

This error can also occur when a unit in your project has the same name as a standard Delphi unit.

For example, this may occur is when compiling a project written in a previous version of Delphi that did not have a unit of this name (for example, search.pas was not in Delphi 3).

To solve the problem in this case:

1. Open <Unit2> and save it with a new name.
2. Alter all references to <Unit2> in uses clauses to refer to the new name.
3. Delete the old <Unit2>.pas AND <Unit2>.dcu versions of this unit.
4. Rebuild the project.
__________________
David Esperalta
www.decsoftutils.com
Responder Con Cita