Re: [fpc-pascal] inherited interfaces not seen by queryinterface / supports

2016-10-26 Thread Graeme Geldenhuys
On 2016-10-27 03:47, Graeme Geldenhuys wrote: > Again, I don't know why it is done like this, and works very different > to class inheritance. Delphi 7 works exactly the same in this regard. > Maybe somebody with more knowledge on the subject could shed some light. I did some quick internet

Re: [fpc-pascal] inherited interfaces not seen by queryinterface / supports

2016-10-26 Thread Graeme Geldenhuys
On 2016-10-27 02:13, David Emerson wrote: >t_2 = class (_obj_type_, i_2) > // i_2 inherits from i_1, compiler requires i_1 implementation > procedure do_one; > procedure do_two; > end; A common misconception about how interfaces work. In fact, I don't actually know why

Re: [fpc-pascal] Can I open XZ compressed text file on the fly?

2016-10-26 Thread Graeme Geldenhuys
On 2016-10-26 14:58, Gabor Boros wrote: > Can I open it > without decompress it to the file system Yes, simply use any component that implements the LZMA/LZMA2 compression algorithms. You should then be able to decompress it in memory. I think the TurboPower Abbrevia components on SourceForge

[fpc-pascal] inherited interfaces not seen by queryinterface / supports

2016-10-26 Thread David Emerson
Hi all, I am a bit perplexed / disappointed to see that the Supports / QueryInterface functions for interfaces are not behaving the way I would expect them to behave, when using an interface that inherits from another interface. note, _obj_type_ might be TObject, TInterfacedObject, or

Re: [fpc-pascal] Blind Users

2016-10-26 Thread BobJ
Graeme, Thanks, I'll take a look. Bob -- From: "Graeme Geldenhuys" Sent: Wednesday, October 26, 2016 4:23 AM To: Subject: Re: [fpc-pascal] Blind Users On 2016-10-25 12:30, BobJ

Re: [fpc-pascal] fpc 3.0 for ARM (v7l) ?

2016-10-26 Thread Paul Breneman
On 10/26/2016 12:05 PM, Ched wrote: Hello, I just received a brand new Raspberry 3B. Nice ARM-based quad-core pico-machine (armv7l). I can run on the 3B programs compiled on a Raspberry 2B (armv6l) using the 2.6.4 fpc compiler. But compiling on the 3B with the 2.6.4 generates errors, like

[fpc-pascal] fpc 3.0 for ARM (v7l) ?

2016-10-26 Thread Ched
Hello, I just received a brand new Raspberry 3B. Nice ARM-based quad-core pico-machine (armv7l). I can run on the 3B programs compiled on a Raspberry 2B (armv6l) using the 2.6.4 fpc compiler. But compiling on the 3B with the 2.6.4 generates errors, like u_astro.s: Assembler messages:

Re: [fpc-pascal] what is the possible cause of EPrivilege Privileged instruction ?

2016-10-26 Thread Dennis Poon
Snorkl e wrote: Your not using teventobject in your threads are you? There is a bug in the RTL which could cause weird issues with threads if you are using teventobject.create. I don't use TEventObject (because I don't know how to use it). I have my internal task queue that my worker

Re: [fpc-pascal] what is the possible cause of EPrivilege Privileged instruction ?

2016-10-26 Thread Snorkl e
Your not using teventobject in your threads are you? There is a bug in the RTL which could cause weird issues with threads if you are using teventobject.create. On Oct 26, 2016 10:58 AM, "Dennis" wrote: > I have a multi threaded program which executes a list of tasks in

Re: [fpc-pascal] what is the possible cause of EPrivilege Privileged instruction ?

2016-10-26 Thread Tony Whyman
A couple of ideas (no more than this) 1. A corrupt stack has resulted in a function return address being corrupted and the program jumps to an illegal instruction. 2. Executing data (shouldn't really happen). 3. Corrupt VMT sgain resulting in the program jumping to an illegal instruction.

[fpc-pascal] what is the possible cause of EPrivilege Privileged instruction ?

2016-10-26 Thread Dennis
I have a multi threaded program which executes a list of tasks in real time. It is difficult to debug with a debugger on this program (since debugging will pause the execution which will be messy for this application). So, I log the exceptions to a log file and I found this exception:

[fpc-pascal] Can I open XZ compressed text file on the fly?

2016-10-26 Thread Gabor Boros
Hi All, I need to analyze log file but its compressed with XZ. Can I open it without decompress it to the file system or can decompress in memory for example into a TStringList? Gabor ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Blind Users

2016-10-26 Thread Fred van Stappen
Hello. Thanks Graeme for your clear explanations. sak (Speaker Assitive Kit) is working for LCL, fpGUI and MSEgui. Here demo of sak in action: https://sites.google.com/site/designerext/test_sak_mse_fred.mp4 ideU is a voice assisted IDE, derived from MSEide. Binary release for Windows,

Re: [fpc-pascal] Blind Users

2016-10-26 Thread Graeme Geldenhuys
On 2016-10-25 12:30, BobJ wrote: > Any guidance will be appreciated. Fred has done some very impressive work with SAK - his Speech Assistive Kit. SAK works cross-platform too, and supports fpGUI Toolkit and MSEgui. Here is a short write-up on it with using fpGUI.

[fpc-pascal] Blind Users

2016-10-26 Thread BobJ
Have any blind programmers managed to make use of the Lazarus IDE or the FPC command line to write interactive software that will run on the Windows7, 64-bit platform? I am blind, a retired software developer now able to make use of two screen-reading software packages, neither of which I have