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. http://fpgui.sourceforge.net/c

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, L

[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 http:

[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: EPrivile

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.

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 real > time. > It is diff

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 thre

[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: u_astro.

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 u_as

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 wrote: Any guidance will be appreciated. Fred has done some ve

[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 TCompo

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 sup

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 FPC

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 search

Re: [fpc-pascal] Blind Users

2016-10-26 Thread Felipe Monteiro de Carvalho
Some work was done in the LCL-Cocoa and LCL-Win32 to support screen readers. Since LCL-Win32 uses native controls, it should be acessible to screen readers out of the box, but it would be great if you could test how the LCL apps behave in practice. I tested a long time ago. About UI designing, I t