Re: [fpc-pascal] Using TInterfaceList and casting interfaces

2019-04-07 Thread Sven Barth via fpc-pascal
Benito van der Zander schrieb am So., 7. Apr. 2019, 15:34: > Writing (list.get(0) as ISomeInterface), is very slow and not possible, > when the interface has no GUID. > This is indeed what is supposed to be used with TInterfaceList. Or perhaps it is better to use gvector rather than TInterfaceL

Re: [fpc-pascal] Public key algo pascal only

2019-04-07 Thread José Mejuto
El 07/04/2019 a las 8:22, Jy V escribió: Give a look at Crypto.pas in Ultibo project at github, from memory it requires very few other pascal unit (and of course no external library or obscure binary code) I also know that XMLRAD is sharing similar feature in unit XCrypto.pas, the project is

[fpc-pascal] Using TInterfaceList and casting interfaces

2019-04-07 Thread Benito van der Zander
Hi, how should one use TInterfaceList with other interfaces than IUnknown? Let's say we have a ISomeInterface derived from IUnknown. When we have an ISomeInterface, we can add it to the list fine, because an ISomeInterface is an IUnknown. But when we get it back from the list, it is an IUnk

Re: [fpc-pascal] TOpenGLControl segfaults on re-parenting

2019-04-07 Thread denisgolovan
Bug report and patch with fix filed to https://bugs.freepascal.org/view.php?id=35335 Please review. -- Regards, Denis Golovan ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal