Page 1 of 1
[patch_done] Lazarus 9.30.4 install problem
Posted: 19.04.2012, 14:32
by iru
Gentlefolk,
Attempted to add the Zeos package to Lazarus 9.30.4.
The add zcomponent.lpk>install crashes in module ZClass at line 84 as follows:
Line 84:
TContainedObject = class(TAggregatedObject, IInterface)
protected
function QueryInterface(const IID: TGUID; out Obj):
HResult; virtual; stdcall;
end;
Error message is:
C:\SW\ZEOS\src\core\Zclasses.pas(84,22) Error: No matching implementation for interface method "IUnknown.QueryInterface(constref TGuid,out <Formal type>):LongInt; StdCall;" found
I have used Zeos 7.0 with earlier versiions of Lazarus with no problems.
Any ideas, help appreciated, Ian
Posted: 19.04.2012, 17:56
by ism
Clean install lazarus ,
Before install delete C:\Users\S\AppData\Local\lazarus folder
I no have problems with lazarus
try from
https://zeoslib.svn.sourceforge.net/svn ... gonhugeist
Posted: 20.04.2012, 09:32
by EgonHugeist
iru,
ism is right here. It seems you use an deprecated snapshot here. The reported issue is gone since long times...
Michael
Posted: 22.04.2012, 02:27
by iru
Thanks for the response.
I should have stated earlier the environment is WinXP SP-3.
However:
I could find nothing like C:\Users\S\AppData\Local\lazarus folder,
I presume it is really something like %localappdata%\lazarus/
I have "uninstalled" lazarus and deleted all other "lazarus" file structures I could find.
Used SVN to download
https://zeoslib.svn.sourceforge.net/svn ... gonhugeist.
Reinstalled Larus, attempted to install ZEOS package from from "testing-egonhugeist".
Same problem!!!!!
So, I have lazarus 0.9.30.4 and the latest ZEOS but still have the problem.
Is there something I may have missed? In the "clean up" perhaps.
Ian
Posted: 22.04.2012, 06:48
by iru
Gentlefolk,
There is a problem somewhere in the environment, the IDE or package processing.
I had two copies of ZEOS, one in C:\SW\ZEOS (the download version) and the other in C:\SW\ZEOSSVN (the egonhugeist version).
In the package install process I would select C:\SW\ZEOSSVN\.......lpk
The zclass file that the error was occuring in came from C\SW\ZEOS.
Proved it by corrupting the zclasses file in C:\SW\ZEOS.
Installed the package via c:\SW\ZEOSSVN and woops a different crash on the error I created in C:\SW\ZEOS....zclasses.
Looks like something is corrupted or does not get accessed during the package install even after two IDE uninstalls-clean-install cycles.
Changed the directory C:\SW\ZEOS to C:\SW\ZEOSORIG and installed the package from C:\SW\ZEOSSVN and the zclasses error did NOT occur.
Other errors occurred later with staticpackages.inc with duplicates with zcore, etc. Probably due to whatever is causing the miss-selection of the zclass file or something I have done doing multiple ZEOS installs.
So how do I really perform a clean uninstall/clean-install of lazarus?
Any directions/help appreciated.
Thanks, Ian
Posted: 22.04.2012, 07:07
by iru
Gentlefolk,
Uninstalled lazarus, removed any directory or file with 'laz' in its name from the entire C: drive.
Installed laz 0.9.30.4, installed the zeos package from 'egonhugeist'.
The zeos package install concluded with NO error, new version of laz built and reloaded. Compiled a sample one form program OK.
Problem appears to have been avoided this time. But something was ugly causing the wrong zeos files to be selected.
Thanks for the help, Ian
Posted: 22.04.2012, 12:07
by EgonHugeist
iru,
do i understand you right? IT WORKS?
Michael
Posted: 22.04.2012, 17:16
by ism
Need to leave only one copy zeos
remove others
Posted: 22.04.2012, 22:09
by iru
Gentlefolk,
Yes, the svn version of zeos now installs correctly into the lazarus ide.
Old version of zeos removed from C:.
Ian.