Re: [Lazarus] Simple MSSQL database connection fails from Lazarus 1.6/FPC 3.0.0...

2016-02-23 Thread Bo Berglund
On Tue, 23 Feb 2016 15:08:09 +0100 (CET), Michael Van Canneyt wrote: >This is the FreeTDS library, an open source library that is needed to >connect to SQL Server. FPC's SQLDB TMSSQLConnection implementation uses >this library. > >You simply need to install it on your

Re: [Lazarus] image upload to wiki

2016-02-23 Thread Bart
On 2/23/16, Werner Pamler wrote: > Now I wanted to add a Laz 1.6 merge request, and the new wiki software > does not accept the {{MantisLink|}} link any more! > I did so yesterday (19:15, 22 February 2016‎) and it worked as always (except for the fact it didnot

Re: [Lazarus] image upload to wiki

2016-02-23 Thread Werner Pamler
I fear I don't understand what you mean... When you click this link http://wiki.freepascal.org/Lazarus_Application_Gallery#BIFFExplorer you'll see the new image which I was able to upload a few hours ago. When you double-click the image you'll see the file history with the old one and the

[Lazarus] Clean and build as sudo?

2016-02-23 Thread Pedro Albuquerque
Hi, first post here, no coding for the last 25 years, first time with Lazarus. Forgive me any inconvenience, please. While building an application, I got this error: mainwindow.pas(27,22) Error: Cannot find FileUtil used by MainWindow, incompatible

Re: [Lazarus] Simple MSSQL database connection fails from Lazarus 1.6/FPC 3.0.0...

2016-02-23 Thread Bo Berglund
On Tue, 23 Feb 2016 10:49:47 -0700 (MST), leledumbo wrote: >> Since the -dev was an "also" package, how can I get the basic freetds >> package? Or maybe it is not really needed? > >Normally if you install the -dev package, the runtime one is also installed >since

Re: [Lazarus] Warning about integer constant and expression

2016-02-23 Thread Mattias Gaertner
On Tue, 23 Feb 2016 18:28:29 +0100 Jürgen Hestermann wrote: > WIth this definition: > > var i64 : Int64; > > and this code: > > if i64>High(SizeInt) then > > I get: > "Warning: Comparison might be always false due to range of constant and > expression" > And even

Re: [Lazarus] Simple MSSQL database connection fails from Lazarus 1.6/FPC 3.0.0...

2016-02-23 Thread leledumbo
> Since the -dev was an "also" package, how can I get the basic freetds > package? Or maybe it is not really needed? Normally if you install the -dev package, the runtime one is also installed since it's a dependency. Try `apt-cache search freetds` to see what related packages are available.

Re: [Lazarus] Warning about integer constant and expression

2016-02-23 Thread Jürgen Hestermann
Am 2016-02-23 um 19:42 schrieb Mattias Gaertner: On Tue, 23 Feb 2016 18:28:29 +0100 Jürgen Hestermann wrote: WIth this definition: var i64 : Int64; and this code: if i64>High(SizeInt) then I get: "Warning: Comparison might be always false due to range of

Re: [Lazarus] image upload to wiki

2016-02-23 Thread Werner Pamler
Am 23.02.2016 um 18:33 schrieb Bart: On 2/23/16, Werner Pamler wrote: Now I wanted to add a Laz 1.6 merge request, and the new wiki software does not accept the {{MantisLink|}} link any more! I did so yesterday (19:15, 22 February 2016‎) and it worked as always

Re: [Lazarus] Warning about integer constant and expression

2016-02-23 Thread wkitty42
On 02/23/2016 12:28 PM, Jürgen Hestermann wrote: if i64>int64(High(SizeInt)) then if i64>(high(int64(SizeInt)) then ?? -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically

[Lazarus] Warning about integer constant and expression

2016-02-23 Thread Jürgen Hestermann
WIth this definition: var i64 : Int64; and this code: if i64>High(SizeInt) then I get: "Warning: Comparison might be always false due to range of constant and expression" And even more strange, if I convert the constant to int64 as in if i64>int64(High(SizeInt)) then I still get this

Re: [Lazarus] image upload to wiki

2016-02-23 Thread wkitty42
On 02/23/2016 04:14 PM, Alexsander Rosa wrote: Yes, but which one is the main one? They seem to compete with eachother. first, i trimmed several useless signatures and irrelevant text from the post i'm replying... can we please use some proper netiquette and trim crap and shite from our

[Lazarus] Incompatibility: dynamic array and TStream

2016-02-23 Thread Donald Ziesig
Hi All: I am trying to read the contents of a memory stream into a dynamic array of characters and the program keeps crashing when I try to free the dynamic array. Really simple code: Buf : array of Char; Stream : TMemoryStream; begin // Initialize Stream here SetLength( Buf,

Re: [Lazarus] Incompatibility: dynamic array and TStream

2016-02-23 Thread Dmitry Boyarintsev
On Tue, Feb 23, 2016 at 9:39 PM, Donald Ziesig wrote: > I am trying to read the contents of a memory stream into a dynamic array > of characters and the program keeps crashing when I try to free the dynamic > array. > > Only one line is wrong, do the following:

Re: [Lazarus] Lazarus Release 1.6

2016-02-23 Thread Mattias Gaertner
On Tue, 23 Feb 2016 14:10:25 +0200 (EET) Kamen Ketev wrote: > > I have ComboBox which > takes information about filling from a text file. On Lazarus 1.6 cyrillic > symbols are like this:?-??, . How can I correct this? In > Lazarus 1.4 they was correct. What

Re: [Lazarus] Lazarus Release 1.6

2016-02-23 Thread Kamen Ketev
I have ComboBox which takes information about filling from a text file. On Lazarus 1.6 cyrillic symbols are like this:?-??, . How can I correct this? In Lazarus 1.4 they was correct. Regards, Kamen > Оригинално писмо >От: Bart bartjun...@gmail.com

Re: [Lazarus] Lazarus Release 1.6

2016-02-23 Thread Kamen Ketev
Windows 7 64bit. Lazarus 1.6 32bit. Regards, Kamen > Оригинално писмо >От: Mattias Gaertner nc-gaert...@netcologne.de >Относно: Re: [Lazarus] Lazarus Release 1.6 >До: lazarus@lists.lazarus.freepascal.org >Изпратено на: 23.02.2016 14:22 On Tue, 23 Feb 2016

Re: [Lazarus] image upload to wiki

2016-02-23 Thread Werner Pamler
Now I wanted to add a Laz 1.6 merge request, and the new wiki software does not accept the {{MantisLink|}} link any more! Did anybody test this version at all? Am 22.02.2016 um 18:57 schrieb Werner Pamler: The wiki has seen some renovation recently - nice! But could it be that it is no

[Lazarus] Simple MSSQL database connection fails from Lazarus 1.6/FPC 3.0.0...

2016-02-23 Thread Bo Berglund
I just installed Lazarus release 1.6 from svn sources and it seemed OK. I have FPC 3.0.0 also installed from svn sources. All is installed on a Raspbian Jessie system on a Raspberry Pi2 device. So I used Lazarus to make a database connection test to see if it is possible to connect to an MSSQL

Re: [Lazarus] Incompatibility: dynamic array and TStream

2016-02-23 Thread Donald Ziesig
On 02/23/2016 09:42 PM, Dmitry Boyarintsev wrote: On Tue, Feb 23, 2016 at 9:39 PM, Donald Ziesig > wrote: I am trying to read the contents of a memory stream into a dynamic array of characters and the program keeps crashing when I try to

Re: [Lazarus] Lazarus Release 1.6

2016-02-23 Thread Kamen Ketev
"What encoding has the text file? CP1251?" ANSI. Only this encoding worked with Lazarus 1.4. "What function do you use for converting the strings to UTF-8?" SysToUtf8(s) Regards, Kamen > Оригинално писмо >От: Mattias Gaertner nc-gaert...@netcologne.de >Относно:

Re: [Lazarus] image upload to wiki

2016-02-23 Thread Werner Pamler
Lazarus_Application_Gallery (but this was in the link, wasn't it?) Am 23.02.2016 um 21:42 schrieb Alexsander Rosa: http://wiki.freepascal.org/Projects_using_Lazarus OR http://wiki.freepascal.org/Lazarus_Application_Gallery ?!? 2016-02-22 14:57 GMT-03:00 Werner Pamler

Re: [Lazarus] image upload to wiki

2016-02-23 Thread Alexsander Rosa
http://wiki.freepascal.org/Projects_using_Lazarus OR http://wiki.freepascal.org/Lazarus_Application_Gallery ?!? 2016-02-22 14:57 GMT-03:00 Werner Pamler : > The wiki has seen some renovation recently - nice! But could it be that it > is no longer possible to upload

Re: [Lazarus] image upload to wiki

2016-02-23 Thread Alexsander Rosa
Yes, but which one is the main one? They seem to compete with eachother. 2016-02-23 17:50 GMT-03:00 Werner Pamler : > Lazarus_Application_Gallery (but this was in the link, wasn't it?) > > > Am 23.02.2016 um 21:42 schrieb Alexsander Rosa: > > >

Re: [Lazarus] Lazarus Release 1.6

2016-02-23 Thread Mattias Gaertner
On Tue, 23 Feb 2016 14:25:01 +0200 (EET) Kamen Ketev wrote: > Windows 7 64bit. Lazarus 1.6 32bit. >[...] > > I have ComboBox which > > takes information about filling from a text file. On Lazarus 1.6 cyrillic > > symbols are like this:?-??, . How can I

Re: [Lazarus] Simple MSSQL database connection fails from Lazarus 1.6/FPC 3.0.0...

2016-02-23 Thread Michael Van Canneyt
On Tue, 23 Feb 2016, Bo Berglund wrote: I just installed Lazarus release 1.6 from svn sources and it seemed OK. I have FPC 3.0.0 also installed from svn sources. All is installed on a Raspbian Jessie system on a Raspberry Pi2 device. When I click the btnOpenDB to run the OpenConnection