Last week I've presence an litle problem that really bothers me.
In fact the problem was, if you open, modifie and compile some project on an english windows and after that open it on an portuguese windows you will get a lote of errors when try to execute the project pressing F9.
To fix just, delete all '.dcuil' files and '.resource' files and build your project.
Explanation: the dcuil files are the delphi compiled units thats points to the OS files in english like that 'C:\Program File\****' and in portuguese it should get from 'C:\Arquivos de Programas\****'.
Regards,
Diego.
Artigos técnicos para desenvolvedores.
ECO, Delphi, e outras tecnologias do mercado ;)
quinta-feira, 27 de abril de 2006
Mudança de Linguagens do Windows Causa Problemas!
Semana passada passei por um problema besta mas que realmente chega a encomodar.
O fato é que se você abrir,modificar e compilar um projeto em um windows em ingles e depois abrir em um windows português você encontrará varios problemas no projeto ao executar com o F9.
Para corrigir é muito simples, delete todas os arquivos '.dcuil' e os arquivos '.resource' e de um build.
Explicação: os arquivos dcuil são as units compiladas que por sua vez estavam apontando para os arquivos do sistema operacional em ingles (ex.: C:\Program Files\ ****) sendo que em portugues deveria pegar de 'C:\Arquivos de Programas\****'.
Abraço,
Diego.
O fato é que se você abrir,modificar e compilar um projeto em um windows em ingles e depois abrir em um windows português você encontrará varios problemas no projeto ao executar com o F9.
Para corrigir é muito simples, delete todas os arquivos '.dcuil' e os arquivos '.resource' e de um build.
Explicação: os arquivos dcuil são as units compiladas que por sua vez estavam apontando para os arquivos do sistema operacional em ingles (ex.: C:\Program Files\ ****) sendo que em portugues deveria pegar de 'C:\Arquivos de Programas\****'.
Abraço,
Diego.
terça-feira, 18 de abril de 2006
Update 2 Delphi 2006 Ready to Download ;)
Hello guys,
Today Borland released the Update 2 for the Delphi Community.
Here is the link of fixes of this update,
http://qc.borland.com/qc/wc/qcmain.aspx?search=1&rib=10.0.22 and here is the link to download the update http://www.borland.com/downloads/registered/download_delphi.html
I've already installed :D
Regards,
Diego.
Today Borland released the Update 2 for the Delphi Community.
Here is the link of fixes of this update,
http://qc.borland.com/qc/wc/qcmain.aspx?search=1&rib=10.0.22 and here is the link to download the update http://www.borland.com/downloads/registered/download_delphi.html
I've already installed :D
Regards,
Diego.
Update 2 Delphi 2006 Disponivel ;)
Fala galera,
Hoje a Borland disponibilizou o Update 2 para comunidade delphi.
Aqui esta o link das correções feitas neste update, http://qc.borland.com/qc/wc/qcmain.aspx?search=1&rib=10.0.22 e aqui está o link para download do update http://www.borland.com/downloads/registered/download_delphi.html
Já estou com o meu :D
Abração a todos,
Diego.
Hoje a Borland disponibilizou o Update 2 para comunidade delphi.
Aqui esta o link das correções feitas neste update, http://qc.borland.com/qc/wc/qcmain.aspx?search=1&rib=10.0.22 e aqui está o link para download do update http://www.borland.com/downloads/registered/download_delphi.html
Já estou com o meu :D
Abração a todos,
Diego.
sábado, 15 de abril de 2006
One Unit per Class
Hello guys,
If you have a big project that should have many classes I recommend that you use the option to save one Class per unit. This option improve the IDE load time when working with many classes. The default option ECO saves all classes in one single file and that makes the IDE load time to be slowed Down.
To enable this option go to the menu Tools->Options and select the item ECO General Options, after that tick the One File Per Class and write the name that eco should save the units, the parameter {0} is the class name. In our case the example files would be saved with the name u + ClassName + Class being that way uClassNameClass.pas.

Regards,
Diego.
If you have a big project that should have many classes I recommend that you use the option to save one Class per unit. This option improve the IDE load time when working with many classes. The default option ECO saves all classes in one single file and that makes the IDE load time to be slowed Down.
To enable this option go to the menu Tools->Options and select the item ECO General Options, after that tick the One File Per Class and write the name that eco should save the units, the parameter {0} is the class name. In our case the example files would be saved with the name u + ClassName + Class being that way uClassNameClass.pas.

Regards,
Diego.
Assinar:
Postagens (Atom)