Re: [fpc-pascal] Verify Method Calls

2016-07-04 Thread Jonas Maebe
On 04/07/16 19:38, tobiasgie...@gmail.com wrote: I would like to use "Verify Method Calls" (-CR), but when I choose it in the Lazarus project options under debugging, I get compiler errors such as: Incompatible type for arg no.2: Got "Class Of IZCollection", expected "TClass". With Verify Meth

Re: [fpc-pascal] Run-time checks

2016-07-04 Thread Jonas Maebe
On 04/07/16 19:35, Tobias Giesen wrote: Is it possible to check class typecasts such as TMyIniFile(AnIniFile) ? Yes, by compiling with -CR. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailm

Re: [fpc-pascal] Digital Certificate, CAPICOM

2016-07-04 Thread Marcos Douglas
On Mon, Jul 4, 2016 at 3:19 PM, Dariusz Mazur wrote: > W dniu 2016-06-29 o 18:06, Marcos Douglas pisze: > >> Hi, >> >> Do you use Digital Certificate? If yes, which library/component? >> > This is my library, that I use to Sign in Xades standard > > https://github.com/darekm/xades4fpc Do you h

Re: [fpc-pascal] Digital Certificate, CAPICOM

2016-07-04 Thread Dariusz Mazur
W dniu 2016-06-29 o 18:06, Marcos Douglas pisze: Hi, Do you use Digital Certificate? If yes, which library/component? This is my library, that I use to Sign in Xades standard https://github.com/darekm/xades4fpc -- Darek ___ fpc-pascal maillis

[fpc-pascal] Verify Method Calls

2016-07-04 Thread tobiasgiesen
Hello, I would like to use "Verify Method Calls" (-CR), but when I choose it in the Lazarus project options under debugging, I get compiler errors such as: Incompatible type for arg no.2: Got "Class Of IZCollection", expected "TClass". With Verify Method Calls off, the same code compiles fine.

[fpc-pascal] Run-time checks

2016-07-04 Thread Tobias Giesen
Hello, I have a few questions about run-time checks. Is it possible to check class typecasts such as TMyIniFile(AnIniFile) ? Or only "AnIniFile as TMyIniFile"? If only the second, it would be cool if it were possible to disallow the first kind of typecast. Cheers, Tobias _

Re: [fpc-pascal] .RSJ files vs .RST files

2016-07-04 Thread Martin Schreiber
On Monday 04 July 2016 11:47:09 Graeme Geldenhuys wrote: > On 2016-07-04 10:31, Jonas Maebe wrote: > > Since we don't generate .rst files anymore, .rsj files are > > (codepage-safe) a replacement. > > Oh, no deprecation period - that's harsh. > > OK, I guess I'll have to start modifying my localisa

Re: [fpc-pascal] .RSJ files vs .RST files

2016-07-04 Thread Jonas Maebe
Graeme Geldenhuys wrote on Mon, 04 Jul 2016: On 2016-07-04 10:31, Jonas Maebe wrote: Since we don't generate .rst files anymore, .rsj files are (codepage-safe) a replacement. Oh, no deprecation period - that's harsh. While I was not the one who removed support for generating them, I didn

Re: [fpc-pascal] .RSJ files vs .RST files

2016-07-04 Thread Graeme Geldenhuys
On 2016-07-04 10:31, Jonas Maebe wrote: > Since we don't generate .rst files anymore, .rsj files are > (codepage-safe) a replacement. Oh, no deprecation period - that's harsh. OK, I guess I'll have to start modifying my localisation utilities then. Thanks for the information. Regards, Graem

Re: [fpc-pascal] .RSJ files vs .RST files

2016-07-04 Thread Jonas Maebe
Graeme Geldenhuys wrote on Mon, 04 Jul 2016: Are .RSJ files replacements for .RST files, or am I not understanding the point or .RSJ files? Since we don't generate .rst files anymore, .rsj files are (codepage-safe) a replacement. I believe .RSJ files appeared in FPC 2.6.4. 3.0 Is the

[fpc-pascal] .RSJ files vs .RST files

2016-07-04 Thread Graeme Geldenhuys
Hi, Are .RSJ files replacements for .RST files, or am I not understanding the point or .RSJ files? I believe .RSJ files appeared in FPC 2.6.4. Is the FPC team going to deprecate .RST files at some point? Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http:/