I have a problem with installing components on upgrading from 0.9.26 to 0.9.29.

I have installed several extra components on the previous versions of Lazarus (0.9.26) which allowed grids to be aligned within each cell, and for each column or row to be
sorted (alphabetically or numerically). Those components cannot now be
installed using Lazarus 0.9.29 (which I need to access the clipboard for wince) - the error message is "Can't find unit Controls used by AlSortGrid" from the AlSortGrid.pas file. If this unit reference is removed
it then says "Can't find unit Forms used by AlSortGrid" and so on through
the list in the uses section. These units can be found OK when using the
StringGrid unit in the Additional component tab on the IDE, so I assume the
problem is the search path used by the component. I cannot find a search
path specific to the Packages Component units. I have tried rebuilding the
entire installation, searching for config files. I am running XP so these
appear within the Lazarus installation (unlike Vista where they appear
within Documents and Settings, outside the Lazarus folders) so should be
removed on complete removal of previous versions. I have checked where they
are pointing to and appear OK.

Do you have any comments or suggestions please?

On investigating this problem in more detail, it seems to be associated with
the following circumstances :-

1) It is when trying to install in Lazarus 0.9.29 / FPC 2.4.1
2) It is specific to installing for WinCE - Win32 seems to be OK

Originally, the component was installed on 0.9.26/2.2.2 for just Win32. Then
WinCE was added on the same installation and worked OK, with the component
still appearing on the Component Palette. The applications using this
component also worked OK for desktop (Win32) and smartphone (WinCE - Windows
Mobile 6.5).

On trying the same for Lazarus 0.9.29 / FPC 2.4.1, the component installed OK
again on the Component Palette and in the (Win32) application with Win32
installed, but when trying to install WinCE with all the mods required by
WinCE, the component still appeared on the Component Palette, but it does
not work in the application running WinCE / Windows Mobile 6.5. The cells of
the grid do not fill with data, and the grid does not appear correctly on
the phone - there are no grid lines or cells etc.

In order to attempt to identify the cause of the problem, I have also tried to install an exact copy of StringGrid on the Component Palette. It installs on the palette OK under Win32, but when trying to install
it again under WinCE (calling it 'NewStringGrid') and to use the new
component (identical to StringGrid - a direct descendant) on the WinCE application, the following
error message appears

"The project uses target OS=Error: illegal parameter; -Twin32 and CPU=Error:
illegal parameter; -Twin32,
The system.ppu for this target was not found by the FOC binary directories
Make sure fpc is installed correctly for this target and the fpc.cfg
contains the right directories."

The problem now seems to be less to do with the source code of the new
component, and more to do with the settings within Lazarus.

I have tried all obvious combinations, but without success. The same problem
occurs with new 'virgin' installations of Lazarus / FPC aswell as
installations added to 0.9.26/2.2.2.

Has anyone managed to install new components into Lazarus 0.9.29 / FPC 2.4.1
and successfully run applications using those (visual) components using WindowsCE / Windows Mobile 6.5?

Any contributions would be gratefully received.

Regards

__________ Information from ESET Smart Security, version of virus signature 
database 5155 (20100530) __________

The message was checked by ESET Smart Security.

http://www.eset.com




--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to