Micro-ISV.asia

Sunday, 28 December 2008

Choose The Right File Format for Your Delphi Source Code

Filed under: Programming — Jan Goyvaerts @ 12:39

I just got a bug report for the latest version of TPerlRegEx. A user from China was getting these errors trying to compile TPerlRegEx:
[DCC Warning] PerlRegEx.pas(265): W1063 Widening given AnsiChar constant (#$B7) to WideChar lost information
[DCC Error] PerlRegEx.pas(265): E2030 Duplicate case label
Needless to say, TPerlRegEx compiled just fine for me on my own [...]

Saturday, 22 November 2008

Delphi and Unicode White Paper

Filed under: Programming — Jan Goyvaerts @ 15:40

CodeGear published a “Delphi and Unicode” white paper. It’s an excerpt from the upcoming Delphi 2009 Handbook. I did the technical review of that book’s section on Unicode.

Thursday, 23 October 2008

Delphi 2009 String Performance in a Nutshell

Filed under: Programming — Jan Goyvaerts @ 21:43

Simple rules for developers migrating from Delphi 2007 to 2009 who haven’t worried about string performance in the past, and don’t want to start to worry about it now.

Monday, 6 October 2008

Don’t Get Hung Up on Milliseconds

Filed under: Programming — Jan Goyvaerts @ 16:36

Benchmark results of running isolated code a million times in a tight loop are meaningless, for a variety of reasons.

Wednesday, 1 October 2008

Needless String Checks with EnsureUnicodeString

Filed under: Programming — Jan Goyvaerts @ 17:56

Detailed explanation of the reasons behind and impact of the new “string format checking” compiler option in Delphi 2009. Delphi programmers should turn it off, but C++Builder programmers should turn it on.

Tuesday, 16 September 2008

Speed Benefits of Using The Native Win32 String Type

Filed under: Programming — Jan Goyvaerts @ 17:40

The “A” functions in the Win32 API are wrappers around the “W” counterparts, with added code page conversions. The Delphi 2009 RTL and VCL use the “W” calls, resulting in a slight performance increase compared with Delphi 2007.

Saturday, 23 August 2008

Using RawByteString Effectively

Filed under: Programming — Jan Goyvaerts @ 9:31

More details on the new RawByteString type in Delphi 2009.

Thursday, 21 August 2008

Delphi 2009 Announcement Clarifications

Filed under: Programming — Jan Goyvaerts @ 7:11

Delphi and C++Builder 2009 will not ship, but be available for pre-order on August 25th. The prices listed are upgrade prices.

Saturday, 9 August 2008

I Like My Bytes Raw

Filed under: Programming — Jan Goyvaerts @ 19:14

Introducing the new RawByteString type in Delphi 2009.

Friday, 8 August 2008

Will The Real UTF8String Stand Up?

Filed under: Programming — Jan Goyvaerts @ 18:52

In Delphi 2009, UTF8String is no longer a mere alias to AnsiString. It is now a real UTF-8 string, that tells the compiler to encode literals as UTF-8 and compile time, and convert assignments from other string variables at runtime.

Thursday, 7 August 2008

Get Ready for Delphi 2009 and Unicode

Filed under: Programming — Jan Goyvaerts @ 18:52

Tips for preparing your applications to migrate to Delphi 2009 and Unicode.

Wednesday, 28 May 2008

Great Programming Font Updated

Filed under: Programming — Jan Goyvaerts @ 11:31

I just received an email from Damien Guard to let me know he has updated his Envy Code R font. That’s one of my three favorite programming fonts.
He reduced the font’s line height. It will now fit about the same number of lines on the screen at a given font size as the [...]

Next Page »