Hello,
After update to the latest version UI pack 13.1.0.1 18/04/2024
AdvGridWorkbook version 3.3.4.0
I get error when compiling:
[dcc32 Fatal Error] ufrmMain.pas(10): F2051 Unit UAdvGridExcelImport was compiled with a different version of AdvGridWorkbook.TAdvGridWorkbook
Please help to solve this problem
Thanks in advance
Did you properly and fully uninstall the previous version first?
I suspect there are still old version files of UAdvGridExcelImport.dcu around on your system. Please uninstall & cleanup ALL old version files and then perform a clean install. Then you should not experience such issue.
Unstall is automatically done by new version itself.
But I will do manually try uninstall and install it again, then I let you know
grCor
Installed the previous version : 13.0.9.0 and it is compliing again
13.1.0.1 does not compile, see previous
Again, there must be old version files on your system. Scan your full hard disk for old versions. Check your library path if it includes folders that point to old version files.
On a clean install, all compiles without any error.
yes, it compiles with no error 13.1.0.1 (setup) but not when compiling my project.
[dcc32 Fatal Error] ufrmMain.pas(10): F2051 Unit UAdvGridExcelImport was compiled with a different version of AdvGridWorkbook.TAdvGridWorkbook
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Generics.Collections, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ExeInfo, HTMLStatusBar, AdvSmoothButton, Vcl.StdCtrls, AdvGlowButton, AdvToolBar, AdvToolBarStylers, Vcl.Grids, AdvObj, BaseGrid, AdvGrid,
AdvMemo,strutils, AdvMenus, AdvEdit, Vcl.Menus, System.RegularExpressions, tmsAdvGridExcel, AdvUtil,
AdvBadge,Math, AdvSmoothStepControl, AdvCombo, AdvGroupBox, AdvOfficeButtons,
UAdvGridExcelImport;
Then this project must have dependencies to old version .bpl files and/or have library paths pointing to old version dcu files.
Again, search your FULL hard disk for old UAdvGridExcelImport.dcu files and delete ALL old versions.