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

2016-10-27 Thread Gabor Boros
2016. 10. 27. 4:29 keltezéssel, Graeme Geldenhuys írta: 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 thin

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

2016-10-27 Thread David Emerson
On 10/27/2016 06:01 AM, Tony Whyman wrote: That is you can build an object hierarchy to parallel an interface hierarchy. I don't use the "Supports" primitive. - so maybe there is a bug in this feature but otherwise, what is the problem with interface inheritance? Yes, the problem is with "Sup

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

2016-10-27 Thread David Emerson
On 10/27/2016 05:18 AM, Graeme Geldenhuys wrote: On 2016-10-27 12:42, Marcos Douglas B. Santos wrote: It is a "bug by design". The worst kind! Actually, I think this is should be corrected in both modes (COM and CORBA). Indeed, and even if it is fixed in FPC, it shouldn’t break any existi

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

2016-10-27 Thread Tony Whyman
On 27/10/16 03:47, Graeme Geldenhuys wrote: A common misconception about how interfaces work. In fact, I don't actually know why FPC and Delphi bother with Interface Inheritance, because I simply don't see the point. To make your "t_2" class support both interface, you need to specify both in the

Re: [fpc-pascal] Blind Users

2016-10-27 Thread BobJ
Felipe, Thanks, I'll take a look. Bob -- From: "Felipe Monteiro de Carvalho" Sent: Thursday, October 27, 2016 2:19 AM To: "FPC-Pascal users discussions" Subject: Re: [fpc-pascal] Blind Users Some work was done in the LCL-Cocoa and LCL-Win32 t

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

2016-10-27 Thread Marcos Douglas B. Santos
On Thu, Oct 27, 2016 at 10:18 AM, Graeme Geldenhuys wrote: >> It is a "bug by design". > > The worst kind! Yeah, you're right. >> Actually, I think this should be corrected in both modes (COM and CORBA). > > Indeed, and even if it is fixed in FPC, it shouldn’t break any existing > code either. S

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

2016-10-27 Thread Graeme Geldenhuys
On 2016-10-27 12:42, Marcos Douglas B. Santos wrote: > It is a "bug by design". The worst kind! > Actually, I think this is should be corrected in both modes (COM and CORBA). Indeed, and even if it is fixed in FPC, it shouldn’t break any existing code either. So it’s a win-win situation. If no

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

2016-10-27 Thread Marcos Douglas B. Santos
On Thu, Oct 27, 2016 at 1:12 AM, Graeme Geldenhuys wrote: > In the Stack Overflow link I posted - further down the page - a person > named Jasper mentions that in is QueryInterface implementation bug where > QueryInterface on checks for valid Interface signatures in the top level > of the interfac

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

2016-10-27 Thread Stephen Chrzanowski
If you can, change the app so that it'll also output what parameters and calls are being passed in as well. Drop in a debug statement or two on entrance and exit to any and all functions within the thread. Then keep an eye on the logs. Check this thread on Stack Overflow; http://stackoverflow.c