Re: [Lazarus] MariaDB Cluster with lazarus

2014-05-01 Thread Michael Van Canneyt
On Thu, 1 May 2014, Eric Kom wrote: Hi All, I would like to know if MariaDB Cluster version 5.5 and 10.0 can be connected trought a lazarus application? AFAIK, MariaDB is a fork of mysql. So If they have the same API for their client library: You can try using the MySQL components and exp

Re: [Lazarus] Packages of Lazarus 1.2 and FPC 2.6.4 for Ubuntu 14.04

2014-05-01 Thread leledumbo
> https://launchpad.net/~ok2cqr/+archive/lazarus Why not Lazarus 1.2.2? 1.2.0 with FPC 2.6.4 has a (showstopper) bug with Qt and Carbon interface. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Packages-of-Lazarus-1-2-and-FPC-2-6-4-for-Ubuntu-14-04-tp4

Re: [Lazarus] Debian: fpc-source update

2014-05-01 Thread leledumbo
> by manually, would that be something like apt-get remove fpc-2.6.2 or rm /f path/to/fpc/2.6.2 ?? if dpkg -l still shows fpc-2.6.2 then do the former, otherwise the latter. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Debian-fpc-sourc

[Lazarus] MariaDB Cluster with lazarus

2014-05-01 Thread Eric Kom
Hi All, I would like to know if MariaDB Cluster version 5.5 and 10.0 can be connected trought a lazarus application? Thanks -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Debian: fpc-source update

2014-05-01 Thread Mattias Gaertner
On Thu, 01 May 2014 15:24:44 -0400 waldo kitty wrote: > On 5/1/2014 7:16 AM, Mattias Gaertner wrote: > > On Thu, 01 May 2014 12:10:32 +0200 > > John Landmesser wrote: > > > >> [...] > >> do i have to remove version 2.6.2 manually? > >> > >> If i do > >> apt-cache show fpc-source > >> > >> ther

Re: [Lazarus] Debian: fpc-source update

2014-05-01 Thread waldo kitty
On 5/1/2014 7:16 AM, Mattias Gaertner wrote: On Thu, 01 May 2014 12:10:32 +0200 John Landmesser wrote: [...] do i have to remove version 2.6.2 manually? If i do apt-cache show fpc-source there is no line "replaces ..", so i think its my job to remove the old fpc-source 2.6.2?? But why??

Re: [Lazarus] Illegal typecast in Linux only

2014-05-01 Thread Richard Mace
Thanks Mattias, PtrUInt works like a charm :) Richard On 1 May 2014 15:20, Mattias Gaertner wrote: > On Thu, 1 May 2014 15:04:56 +0100 > Richard Mace wrote: > > > Hi, > > I am getting the following error: Illegal type conversion: "TObject" to > > "LongInt" on the following code: > > > > > TFS

Re: [Lazarus] Illegal typecast in Linux only

2014-05-01 Thread Richard Mace
Thanks Juhu, Changing my code now :) Richard On 1 May 2014 15:23, Juha Manninen wrote: > On Thursday, May 1, 2014, Richard Mace wrote: > >> Hi, >> I am getting the following error: Illegal type conversion: "TObject" to >> "LongInt" on the following code: >> >> >> TFSGatewayType(Integer(cbo11T

Re: [Lazarus] Illegal typecast in Linux only

2014-05-01 Thread Juha Manninen
On Thursday, May 1, 2014, Richard Mace wrote: > Hi, > I am getting the following error: Illegal type conversion: "TObject" to > "LongInt" on the following code: > > > TFSGatewayType(Integer(cbo11TrunkType.Items.Objects[cbo11TrunkType.ItemIndex])) > Typecast to Integer should be PtrInt. It works

Re: [Lazarus] Illegal typecast in Linux only

2014-05-01 Thread Mattias Gaertner
On Thu, 1 May 2014 15:04:56 +0100 Richard Mace wrote: > Hi, > I am getting the following error: Illegal type conversion: "TObject" to > "LongInt" on the following code: > > TFSGatewayType(Integer(cbo11TrunkType.Items.Objects[cbo11TrunkType.ItemIndex])) > > Is this because I am compiling under L

[Lazarus] Illegal typecast in Linux only

2014-05-01 Thread Richard Mace
Hi, I am getting the following error: Illegal type conversion: "TObject" to "LongInt" on the following code: TFSGatewayType(Integer(cbo11TrunkType.Items.Objects[cbo11TrunkType.ItemIndex])) Is this because I am compiling under Linux 64bit or just Linux or just 64bit? Under Windows 32bit it compile

Re: [Lazarus] Debian: fpc-source update

2014-05-01 Thread Mattias Gaertner
On Thu, 01 May 2014 12:10:32 +0200 John Landmesser wrote: >[...] > do i have to remove version 2.6.2 manually? > > If i do > apt-cache show fpc-source > > there is no line "replaces ..", so i think its my job to remove the old > fpc-source 2.6.2?? > > But why?? You can have both. They don'

[Lazarus] Debian: fpc-source update

2014-05-01 Thread John Landmesser
Ok, a little bit off topic, but perhaps someone has the answer. On my Debian ( sid ) i installed fpc-source with apt-get. After dist-upgrade i have two versions of fpc-source: apt-cache policy fpc-source fpc-source: Installiert: 2.6.4+dfsg-1 Installationskandidat: 2.6.4+dfsg-1