[AV] D2006 and cvs branch

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
Igotcha
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 12.04.2006, 13:42

[AV] D2006 and cvs branch

Post by Igotcha »

Hi,

I installed the latest cvs branch for an installation with D2006 (Update2) because I needed to change from D7 Prof which worked very fine so far.

Installation worked fine after a couple of tries, but everytime ich try to connect a ZConnection with my MySQL-DB I get an AV at adress 00000000.

Code: Select all

 + $0[51F26B4B]{rtl100.bpl  } System.System.@HandleAnyException (Line 9980, "system.pas" + 13) + $0
 + $36[77F69B73]{ntdll.dll   } RtlConvertUlongToLargeInteger + $36
 + $9[77FA4DB8]{ntdll.dll   } KiUserExceptionDispatcher + $9
 + $6F[0FB45BA3]{ZDbc100.bpl } Zdbcmysql.TZMySQLConnection.Open + $6F
 + $C5[0FB45A9D]{ZDbc100.bpl } Zdbcmysql.TZMySQLConnection + $C5
 + $9E[0FB4562A]{ZDbc100.bpl } Zdbcmysql.TZMySQLDriver.Connect + $9E
 + $0[0FB02C89]{ZDbc100.bpl } Zdbcintfs. + $0
 + $1AB[0F72D377]{ZComponent100.bpl} Zconnection.TZConnection.Connect + $1AB
 + $2D[0F72CD9D]{ZComponent100.bpl} Zconnection.TZConnection.SetConnected + $2D
 + $0[51F4AC32]{rtl100.bpl  } TypInfo.TypInfo.SetOrdProp (Line 1322, "TypInfo.pas" + 31) + $0
 + $6[20EFD30A]{designide100.bpl} DesignEditors.DesignEditors.TEnumProperty.SetValue (Line 1402, "DesignEditors.pas" + 5) + $6
 + $24[20FDDD84]{vclide100.bpl} IDEInspListBox.IDEInspListBox.TInspListBox.SetPropValue (Line 1145, "ideinsplistbox.pas" + 40) + $24
 + $7[20FDF414]{vclide100.bpl} IDEInspListBox.IDEInspListBox.TInspListBox.ListAccept (Line 1636, "ideinsplistbox.pas" + 6) + $7
 + $12[20FDACF6]{vclide100.bpl} IDEListBtns.IDEListBtns.TListButton.CloseUp (Line 752, "IDEListBtns.pas" + 14) + $12
 + $6[5205CA19]{vcl100.bpl  } Controls.Controls.TWinControl.WndProc (Line 7246, "Controls.pas" + 105) + $6
 + $4[00500EAB]{idectrls100.bpl} IDEWideStdCtrls.IDEWideStdCtrls.TWideCustomListBox.WndProc (Line 4425, "IDEWideStdCtrls.pas" + 14) + $4
 + $0[51F60BC0]{rtl100.bpl  } Classes.Classes.StdWndProc (Line 11572, "classes.pas" + 8) + $0
[77D13A65]{USER32.dll  }
[77D13B32]{USER32.dll  }
 + $120[77D13D8C]{USER32.dll  } GetMessageW + $120
I installed ZEOS as always:

Code: Select all

    * Core.bpl
    * ZParseSql.bpl
    * ZPlain.bpl
    * ZDbc.bpl

If all the packages, listed above are successfully compiled you have to install the ZComponent.bpl. After that all ZEOS components are available in the IDE.
Also tried ZEOS_TESTING_REV_66.zip with the same error.



I really need a working Package because I use ZEOS in my main projekt which I switch from D7 to D2006 :-(

Thanks,
Igotcha
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Can you provide some info on the mysql verion you use? Is the mysql version you use correctly specified in the connection protocol property? eg if you use generic mysql property new zeos version will assume you use a mysql5 library. This probably is no problem if you use a 4.1 libmysql, but for older versions it will almost immediately give an AV.

Mark
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post by zippo »

Suggestion: Can be made na BPL or something for an easier installation? Like Jedi installer (it really rox!). I have also problems installing Zeos to D2006, but since I'm very new to D06 (upgrading from D6...), could be my mistake. BTW: Is the installation process like this?

Compile Zcore, Zplain, ZParseSql, zdbc and finally compile and install ZComponent?

BTW: As I'm new to D2006 i have few questions:

- Where go the compiled dpk files?
- Anyone using StarTeam? Is it good?
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post by zippo »

Ah, the problem I ecounter when installing Zeos..

All compile well - when trying to install ZComponents.dpk I got this error

---------------------------
ZComponent - Borland Developer Studio 2006 - ZComponent.bdsproj: bds.exe - Entry Point Not Found
---------------------------
The procedure entry point @Zmessages@_SUpdateSQLNoResult could not be located in the dynamic link library ZCore.bpl.
---------------------------
OK
---------------------------
Igotcha
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 12.04.2006, 13:42

Post by Igotcha »

mdaems wrote:Can you provide some info on the mysql verion you use? Is the mysql version you use correctly specified in the connection protocol property? eg if you use generic mysql property new zeos version will assume you use a mysql5 library. This probably is no problem if you use a 4.1 libmysql, but for older versions it will almost immediately give an AV.

Mark
I use MySQL 5.0.19-nt as I did over the last months with D7 and ZeosDBO 6.5.1-alpha from september or october - everything always worked fine.

With this setup I used 4.1 libmysql, as property in the ZConnection and as dll. With D2006 I tried the same setup.

I received a modified version of ZeosDBO 6.5.1-alpha for D2006 today and I will try to install it later.

Kay
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Hi Zippo,
Do you use the most recent ZEOS version I packaged? It's not official, but the best available. I advise to use revision 64 when you've mysql problems as we changed quite some stuff afterwards I don't trust yet.
I'll try from time to time to put a new SVN package at http://users.telenet.be/mdaems . Normally the problem should be solved in newer revisions. It has something to do with older Delphi versions present on your system.
see here: http://zeos.firmos.at/viewtopic.php?t=524

@Igotcha : With revision 66 (or 64) I hope you've set the protocol to mysql5 and are very sure there's no other libmysql swimming around on your system than the mysql5 version from your mysql distribution?
What version for D2006 have you received today?

Mark
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post by zippo »

You're right!

It was the old PATH to BPLs that was glitching the installation. Thanx for the tip!
Igotcha
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 12.04.2006, 13:42

Post by Igotcha »

mdaems wrote:@Igotcha : With revision 66 (or 64) I hope you've set the protocol to mysql5 and are very sure there's no other libmysql swimming around on your system than the mysql5 version from your mysql distribution?
Works perfect now with mysql5-protocol and the libmysql from the distribution :-)

Kay
Post Reply