In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Include files in Xailer 2.7

Xailer professional forum in English
Responder
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

Include files in Xailer 2.7

Mensaje por Oleg »

Dear developers!
Thank you very much for new Xailer version with Harbour support.
I just noticed small incompatibility with previous version of Xailer.
I had projects with included .ch files from other folder with absolute
path. I.e. project is placed in C:Project1, but .ch files
are from C:Project2Include. Earlier this project was compiled
successfully, now Xailer does not find .ch files from other folder.
When I change .ch files placement to C:Project1Include (subfolder of
project folder), all is working fine.
Regards, Oleg
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9463
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Include files in Xailer 2.7

Mensaje por ignacio »

Oleg escribió el vie, 02 noviembre 2012 12:01Dear developers!
Thank you very much for new Xailer version with Harbour support.
I just noticed small incompatibility with previous version of Xailer.
I had projects with included .ch files from other folder with absolute
path. I.e. project is placed in C:Project1, but .ch files
are from C:Project2Include. Earlier this project was compiled
successfully, now Xailer does not find .ch files from other folder.
When I change .ch files placement to C:Project1Include (subfolder of
project folder), all is working fine.
Regards, Oleg
Hello,
I have just made this test:
#include "c:temptest.ch"
Which has the following code:
#define ONE "one"
In my code I put something like Msginfo( ONE )
And it did work correctly.
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

Include files in Xailer 2.7

Mensaje por Oleg »

Ignacio!
> Hello,
> I have just made this test:
>
> #include "c:temptest.ch"
>
> Which has the following code:
>
> #define ONE "one"
>
> In my code I put something like Msginfo( ONE )
>
> And it did work correctly.
Maybe my problem and problem described in 'Project Export'
are the problems with the same root.
I am trying to export project and files from other folders
are not placed into resulting .zip
Here is the messages from Xailer IDE, maybe this helps:
Exporting project xlatw-1-0-0-1.zip...
Building file list
Adding file xlatw.xpj...
Adding file Sourcexlatw.prg...
Adding file Sourcexlat.prg...
Adding file ..CLSWclsw_cmn.lib...
Adding file ..CLSWResourcesys.rc...
Adding file ..CLSWResourceLanguage.rc...
Adding file xailer2xharbourLibct.lib...
Adding file ..CLSWIncludecfw.ch...
Adding file ..CLSWIncludecfw.h...
Adding file Error.log...
The project xlatw-1-0-0-1.zip has been exported successfully
All files included in project and starting with .. are not placed
into resulting .zip.
Also when compiling Xailer cannot open ..CLSWIncludecfw.ch
Regards, Oleg
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9463
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Include files in Xailer 2.7

Mensaje por ignacio »

New test:
Sample ExplorerBar. I did manually include the following file:
xailersamplesZipArchiveSourceTestZip.prg
This was the export messages:
Exportando proyecto ExplorerBar.zip...
Construyendo lista de archivos
Añadiendo archivo ExplorerBar.xpj...
Añadiendo archivo SourceExplorerBar.prg...
Añadiendo archivo ResourceExplorerBar.rc...
Añadiendo archivo SourceForm1.prg...
Añadiendo archivo SourceForm1.xfm...
Añadiendo archivo SourceForm2.prg...
Añadiendo archivo SourceForm2.xfm...
Añadiendo archivo ..ZipArchiveSourceTestZip.prg...
Añadiendo archivo ResourceSalir.bmp...
Añadiendo archivo ResourceBBORRAR.bmp...
Añadiendo archivo ResourceBCANCEL.BMP...
Añadiendo archivo ResourceBNEW.BMP...
Añadiendo archivo ResourceBOK.BMP...
Añadiendo archivo ResourceBuscar.bmp...
Añadiendo archivo ResourceEdit.bmp...
Añadiendo archivo ResourceWDBU.ICO...
Añadiendo archivo ResourceUltimo.bmp...
Añadiendo archivo ResourceAlta.bmp...
Añadiendo archivo ResourceAnterior.bmp...
Añadiendo archivo ResourceBaja.bmp...
Añadiendo archivo ResourceEdicion.bmp...
Añadiendo archivo ResourceFiltrar.bmp...
Añadiendo archivo ResourceLupa.bmp...
Añadiendo archivo ResourceOrdenar.bmp...
Añadiendo archivo ResourcePrimero.bmp...
Añadiendo archivo ResourceSiguiente.bmp...
El proyecto ExplorerBar.zip ha sido exportado correctamente
And this is the ZIP file:



Attached files
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

Include files in Xailer 2.7

Mensaje por Oleg »

Ignacio!
I could not see files starting with .. in Zip viewer included in Far2
Far2 does not support such archives. I can see all files in 7-Zip.
So, export works fine.
My sample project with external include files are compiling without
error if I add this external path to 'Project
propertiesDirectoriesInclude'. I did not add this path in my old projects.
Now all is ok.
Thank you for help.
Regards, Oleg.
Responder