Re: [fpc-devel] RFC: customvariant handling in variants.pp and fmtbcd.pp

2011-03-24 Thread LacaK
Hi Sergei, Doing what you propose isn't good. Checking for custom variant type is expensive because it involves locking, therefore custom variant handling should be done *after* the standard types. Both committed in r17170, with some changes: great thanks! In fmtbcd.pp, I used

[fpc-devel] Implementing TFmtBCDField - ftFmtBCD and SQLite

2011-03-24 Thread LacaK
Hi, after doing some test with new implementation of TFmtBCDField for TSQLite3Connection connector I encounter this problem: When you declare in SQLite some column as NUMERIC or DECIMAL then this column will have NUMERIC affinity. CREATE TABLE t (d DECIMAL(30,7)); If you insert in such

[fpc-devel] FPC for minimal Win-32

2011-03-24 Thread Mark Morgan Lloyd
I'm currently looking at the potential of a minimal Win32-compatible OS called Sanos, which supposedly implements a useful subset of the Windows console-mode API. As a starting point, I'm using the standard Windows variant of the FPC compiler, but if I build a minimal program (i.e. program

Re: [fpc-devel] FPC for minimal Win-32

2011-03-24 Thread Mark Morgan Lloyd
Sven Barth wrote: On 24.03.2011 21:38, José Mejuto wrote: Hello FPC, Thursday, March 24, 2011, 9:10:10 PM, you wrote: SB You don't need to rebuild FPC itself, but you need to modify the RTL. SB Three functions from oleaut32 are included for Windows compatible SB widestring management.