[patch_done] Lazarus 9.30.4 install problem

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
iru
Fresh Boarder
Fresh Boarder
Posts: 21
Joined: 04.05.2010, 10:29

[patch_done] Lazarus 9.30.4 install problem

Post 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
ism
Zeos Test Team
Zeos Test Team
Posts: 202
Joined: 02.10.2010, 20:48

Post 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
Lazarus 1.0.8 fpc 2.6.0
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

iru,

ism is right here. It seems you use an deprecated snapshot here. The reported issue is gone since long times...

Michael
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
iru
Fresh Boarder
Fresh Boarder
Posts: 21
Joined: 04.05.2010, 10:29

Post 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
iru
Fresh Boarder
Fresh Boarder
Posts: 21
Joined: 04.05.2010, 10:29

Post 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
iru
Fresh Boarder
Fresh Boarder
Posts: 21
Joined: 04.05.2010, 10:29

Post 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
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

iru,

do i understand you right? IT WORKS?

Michael
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
ism
Zeos Test Team
Zeos Test Team
Posts: 202
Joined: 02.10.2010, 20:48

Post by ism »

Need to leave only one copy zeos
remove others
Lazarus 1.0.8 fpc 2.6.0
iru
Fresh Boarder
Fresh Boarder
Posts: 21
Joined: 04.05.2010, 10:29

Post by iru »

Gentlefolk,

Yes, the svn version of zeos now installs correctly into the lazarus ide.

Old version of zeos removed from C:.

Ian.
Locked