Re: [fpc-pascal] Mouse, scroll wheel support?

2016-06-29 Thread Michalis Kamburelis
2016-06-28 15:05 GMT+02:00 John Youngquist : > Is there a non Lazarus means of accessing the mouse, and scroll wheel? > I have an app that uses some old driver which doesn't address the wheel. > I'm trying to make the wheel work. I have tried SDL and the demo code works > but it seems to work only

Re: [fpc-pascal] Mouse, scroll wheel support?

2016-06-29 Thread Tomas Hajny
On Wed, June 29, 2016 11:04, Michalis Kamburelis wrote: > 2016-06-28 15:05 GMT+02:00 John Youngquist : Hello, Apparently, the original poster forgot to mention that he wasn't subscribed to the list and thus he might not see responses to his question - adding him in Cc: of the response below now.

[fpc-pascal] UNICODE define

2016-06-29 Thread LacaK
Hi *, can I rely on http://wiki.freepascal.org/User_Changes_3.0#UNICODE_define_depends_on_default_string_type_instead_of_on_target_platform that UNICODE is defined just when String=UnicodeString and not defined in all other cases ? TIA -Laco. __

Re: [fpc-pascal] UNICODE define

2016-06-29 Thread Jonas Maebe
LacaK wrote on Wed, 29 Jun 2016: can I rely on http://wiki.freepascal.org/User_Changes_3.0#UNICODE_define_depends_on_default_string_type_instead_of_on_target_platform that UNICODE is defined just when String=UnicodeString and not defined in all other cases ? That's literally what that te

[fpc-pascal] Severe bug (?) dividing comp variables in 3.0.0

2016-06-29 Thread greim
Hi, there seems to be a very strange effect with dividing comp variables in 3.0.0: Dividing a comp variable x by any number which is not 1 or x gives result 0. Tested on a i386 machine. It works fine with for example with fpc 2.6.4. I know I can use int64 instead, but we have a lot of very o

[fpc-pascal] Access C++ APIs

2016-06-29 Thread Gabor Boros
Hi All, I want to play a little with a fresh Qt 5.x. Lazarus access Qt through Qt4Pas. I see "Linking with C++ code" in future plans for FPC. Is there another way? For example I can access OO API of Firebird 3 with the provided pas file. Is it a special Firebird thing or a general solution? S

Re: [fpc-pascal] Access C++ APIs

2016-06-29 Thread Michael Van Canneyt
On Wed, 29 Jun 2016, Gabor Boros wrote: Hi All, I want to play a little with a fresh Qt 5.x. Lazarus access Qt through Qt4Pas. I see "Linking with C++ code" in future plans for FPC. Is there another way? For example I can access OO API of Firebird 3 with the provided pas file. Is it a spec

Re: [fpc-pascal] Access C++ APIs

2016-06-29 Thread Dimitrios Chr. Ioannidis
On 29/6/2016 6:05 μμ, Gabor Boros wrote: Hi All, I want to play a little with a fresh Qt 5.x. Lazarus access Qt through Qt4Pas. I see "Linking with C++ code" in future plans for FPC. Is there another way? For example I can access OO API of Firebird 3 with the provided pas file. Is it a specia

[fpc-pascal] Digital Certificate, CAPICOM

2016-06-29 Thread Marcos Douglas
Hi, Do you use Digital Certificate? If yes, which library/component? I'm using ACBr project http://svn.code.sf.net/p/acbr/code/trunk2/ It has CAPICOM supports (only Windows). Works good, but I need to add one more information, but I don't know how: [...] 29/06/2016 10:52:48 [...] SigningTi

Re: [fpc-pascal] UNICODE define

2016-06-29 Thread LacaK
>> can I rely on >>http://wiki.freepascal.org/User_Changes_3.0#UNICODE_define_depends_on_default_string_type_instead_of_on_target_platform that UNICODE is defined just when String=UnicodeString and not >>defined in all other cases ?> > That's literally what that text says, yes. What is missing

Re: [fpc-pascal] UNICODE define

2016-06-29 Thread Jonas Maebe
On 29/06/16 20:16, LacaK wrote: But before I have asked here, I have searched RTL sources and I found many times lines like this: {$ifdef FPC_OS_UNICODE} {$define UNICODE} {$endif} And this lead me to confusion, if UNICODE is really compiler define or not as far as UNICODE is defined repeated

Re: [fpc-pascal] Severe bug (?) dividing comp variables in 3.0.0

2016-06-29 Thread wkitty42
On 06/29/2016 10:56 AM, greim wrote: Hi, there seems to be a very strange effect with dividing comp variables in 3.0.0: Dividing a comp variable x by any number which is not 1 or x gives result 0. Tested on a i386 machine. It works fine with for example with fpc 2.6.4. I know I can use int64

Re: [fpc-pascal] Severe bug (?) dividing comp variables in 3.0.0

2016-06-29 Thread Bart
On 6/29/16, greim wrote: > Hi, > > there seems to be a very strange effect with dividing comp variables in > 3.0.0: > > Dividing a comp variable x by any number which is not 1 or x gives result > 0. > Win7-64, 32-bit fpc/delphi: C:\Users\Bart\LazarusProjecten\ConsoleProjecten\bugs\compdiv>dcc32

Re: [fpc-pascal] Access C++ APIs

2016-06-29 Thread Graeme Geldenhuys
On 2016-06-29 16:11, Dimitrios Chr. Ioannidis wrote: > AFAIK, the Firebird New API is interface based not a C++ API. That is fantastic news! > Look at > http://firebirdsql.org/file/documentation/release_notes/Firebird-3.0.0-ReleaseNotes.pdf#page=37&zoom=auto,54,730.289 A 196 page release notes

Re: [fpc-pascal] Severe bug (?) dividing comp variables in 3.0.0

2016-06-29 Thread Graeme Geldenhuys
On 2016-06-29 15:56, greim wrote: > Dividing a comp variable x by any number which is not 1 or x gives result 0. I think you stumbled across the huge floating point bug detected just after the FPC 3.0 release - I believe that was already fixed in FPC Trunk and the 3.0.1 "fixes" branch. If I'm wro