Install ZEOS LIB problem lazarus / 16-Databases ---------------------------------------------------------------------- Fortuna1 · 2012-03-19 10:02 I instal this Lazarus-0.9.30.4-fpc-2.6.0-win32 gtk2 ZEOSDBO-6.6.6-stable When tray  l  Ckean Up + Bild all Build Then I get this Message: C:\Users\usb\i\zeos666\src\core\ZClasses.pas(84,22) Error: No matching implementation for interface method "IUnknown.QueryInterface(constref TGuid,out ):LongInt; StdCall;" found and marked  row in ZCLasses TContainedObject = class(TAggregatedObject, IInterface)    I not have none ideja something her wrong. ---------------------------------------------------------------------- Zoran · 2012-03-19 11:04 Try to report this to Zeos community — http://zeos.firmos.at. ---------------------------------------------------------------------- Fortuna1 · 2012-03-19 12:23 The last version when can install  ZEOSDBO-6.6.6-stable  is lazarus-0.9.30.2-fpc-2.4.4-win32 Thanks ---------------------------------------------------------------------- Arbee · 2012-03-19 12:53 No idea if that will make any difference, I even suspect it won't, but have you tried the ZEOSDBO-7.0.0-alpha version? Don't be frightened by the "alpha".  I never got any problems with it. ---------------------------------------------------------------------- JD · 2012-03-19 13:34 Quote from: Arbee on March 19, 2012, 01:53:25 pmNo idea if that will make any difference, I even suspect it won't, but have you tried the ZEOSDBO-7.0.0-alpha version? Don't be frightened by the "alpha".  I never got any problems with it. That's what I'm also using and it seems to work fine. I just wonder when it'll move out of the alpha version. ---------------------------------------------------------------------- Fortuna1 · 2012-03-19 14:26 Which version lazarusa use. Thanks! ---------------------------------------------------------------------- Fortuna1 · 2012-03-19 15:19 http://zeosbugs.firmos.at/view.php?id=258 ---------------------------------------------------------------------- fredycc · 2012-03-19 17:00 Check: svn://zeos.firmos.at/zeos/branches/testing For me works and install without problems. Regards ---------------------------------------------------------------------- Fortuna1 · 2012-03-19 18:37 You tested something from this http://zeosdownloads.firmos.at/downloads/snapshots/ Asks for feel like any more information, you tested something. ---------------------------------------------------------------------- Normanha · 2012-03-21 17:23 Also occurs to me the same error. I tried to install in Windows 7 64-bits. Regards ---------------------------------------------------------------------- Blestan · 2012-03-21 18:09 I remeber that i read several months ago in the change log of the compiler that the inheritance of iunknown was changed .... So this is probaly the problem ... Check if the base class/ interface of zeos is inhereting/ implementing the right class/interface... This will take 1 line to change... In had similar problem 1-2 years ago with another package but bcan't remeber ---------------------------------------------------------------------- denver · 2012-03-21 19:07 I have the same problem of installing the zeoslib before. Thanks for the CodeTyphoon project. I extract the ZeosDBO from CodeTyphoon project and install it to lazarus-0.9.30.2-fpc-2.4.4-win32. That solve my problem. ---------------------------------------------------------------------- marcov · 2012-03-21 19:40 Quote from: denver on March 21, 2012, 08:07:14 pmI have the same problem of installing the zeoslib before. Thanks for the CodeTyphoon project. I extract the ZeosDBO from CodeTyphoon project and install it to lazarus-0.9.30.2-fpc-2.4.4-win32. That solve my problem. But you lose 1 1/2 years of bugfixes (in the magnitude of 2000 commits) to FPC, and probably the same amount for Lazarus ---------------------------------------------------------------------- paweld · 2012-03-22 00:29 solution for lazarus 0.9.30.4 fpc.2.6.0: http://www.lazarusforum.de/viewtopic.php?p=43969#p43969 ---------------------------------------------------------------------- jeanchristophe · 2012-03-28 09:43 Sorry, but I don't read german. Can somebody please help me with that? Best regards Jean-Christophe ---------------------------------------------------------------------- Arbee · 2012-03-28 09:58 Reference to what you encounter is at the bottom of the German topic where some changes were made in the ZClasses.pas file of ZEOS. Code: [Select]TContainedObject = class(TAggregatedObject, IInterface)   protected     function QueryInterface({$IFDEF FPC_HAS_CONSTREF}constref{$ELSE}const{$ENDIF} iid : tguid;out obj) : longint;{$IFNDEF WINDOWS}cdecl{$ELSE}stdcall{$ENDIF}; //    function QueryInterface(const IID: TGUID; out Obj): HResult; virtual; stdcall;   end; and Code: [Select]function TContainedObject.QueryInterface({$IFDEF FPC_HAS_CONSTREF}constref{$ELSE}const{$ENDIF} iid : tguid;out obj) : longint;{$IFNDEF WINDOWS}cdecl{$ELSE}stdcall{$ENDIF}; //function TContainedObject.QueryInterface(const IID: TGUID; out Obj): HResult; begin   if GetInterface(IID, Obj) then     Result := S_OK   else     Result := E_NOINTERFACE; end; followed by a re-build. ---------------------------------------------------------------------- marcov · 2012-03-28 13:42 Just disable out the whole ifdef with aggregateobject in it (e.g. by changing its ifdef fpc to ifdef fpcold), and do the same with the implementation. FPC implements these objects already quite sometime, but the "old" zeos version hasn't caught up yet. ---------------------------------------------------------------------- marquessbr · 2012-05-28 01:05 Im get these version "ZEOS_VERSION = '7.0.0-dev'" and nothing with I made solve this problem. My OS is ubuntu 12.04 LTS the IDE is 0.9.31 the FPC is 2.6.0 any idea? thank's! ---------------------------------------------------------------------- Fortuna1 · 2012-05-28 05:50 I resigned with ZEOSconn . I'm programig in ZEOS 7 YEARS And I left him. I 'am migrate  ZEOSconn TO TIBconnec. ---------------------------------------------------------------------- silvestre · 2012-05-28 08:12 Have you tried using the latest version of ZeosLib?, There are many improvements in it. https://zeoslib.svn.sourceforge.net/svnroot/zeoslib/branches/testing- egonhugeist Any problem you can ask for help in the forum, are usually corrected quickly. http://zeos.firmos.at/viewforum.php?f=33 Regards Quote from: marquessbr on May 28, 2012, 03:05:36 amIm get these version "ZEOS_VERSION = '7.0.0-dev'" and nothing with I made solve this problem. My OS is ubuntu 12.04 LTS the IDE is 0.9.31 the FPC is 2.6.0 any idea? thank's! ---------------------------------------------------------------------- marquessbr · 2012-05-28 17:15 [SOLVED] thank's, mr @silvestre First Im copy the zclass.pas from its location and when I compile the z package I get another erro in the zabstractrodataset.pas, then I copy it and compile the package and its work fine, but, I make a new project and then I put a zconnection's component and a ztable and create a database with a simple table in it, but, it don't commit the records with I type in a dbgrid component linked to this ztable normalment with a datasource, etc... any idea! Im is so dependent from this to continue a job here Thank's! light and peace! ---------------------------------------------------------------------- elidorio · 2012-06-01 02:21 Post the problem in the Zeos forum. http://zeos.firmos.at/index.php ---------------------------------------------------------------------- Mike.Cornflake · 2012-08-28 00:28 I don't speak German either, but google does, albiet in this case poorly.  You may make enough sense of this to help... http://translate.google.com/translate?sl=auto&tl=en&js=n&prev=_t&hl=en &ie=UTF- 8&layout=2&eotf=1&u=http%3A%2F%2Fwww.lazarusforum.de%2Fviewtopic.php%3 Fp%3D43969%23p43969 ---------------------------------------------------------------------- ezlage · 2012-08-28 05:01 This version solves all problems! http://sourceforge.net/projects/zeoslib/files/Zeos%20Database%20Object s/snapshots/preview-ZEOSDBO-6.6.7-stable.zip/download Regards.