Micro-ISV.asia

Monday, 1 November 2010

No Yes/No/Cancel, Please

Filed under: Programming — Jan Goyvaerts @ 14:01

I never knew Delphi 2010 could detach from a running process until Delphi XE offered it as an option in a message box, replacing OK/Cancel with Terminate/Detach/Cancel. Make your application user-friendlier by using custom message boxes with custom buttons that clearly indicate their purpose and offer a full set of choices.

Friday, 17 September 2010

$STRINGCHECKS Gone in Delphi XE

Filed under: Programming — Jan Goyvaerts @ 8:10

Delphi 2009 was the first Delphi version to produce Unicode applications. When it was released I ranted about the needless strings checks that it did. Those were a bit of a hack to allow C++Builder developers to port their applications to Unicode more easily by fixing up at runtime what the developer failed to fix […]

Thursday, 16 September 2010

High DPI Support in Windows Vista and 7

Filed under: Programming — Jan Goyvaerts @ 9:35

The screen on the recently released iPhone 4 has twice the resolution or four times the number of pixels than all preceding models. The new resolution is about 300 DPI, which is the resolution at which the human eye can no longer see the individual pixels. By comparison, most desktop monitors are around 96 DPI. […]

Friday, 3 September 2010

More Goodies in Delphi XE and C++Builder XE

Filed under: Programming — Jan Goyvaerts @ 10:58

Delphi XE and C++Builder XE include lots of goodies: regex support in the RTL, subversion integration, Beyond Compare differ, AQTime profiler, and CodeSite logger.

Thursday, 2 September 2010

RAD Studio XE Now Shipping with 4 Programming Languages

Filed under: Programming — Jan Goyvaerts @ 10:58

RAD Studio is now shipping. It includes Delphi XE, C++Builder XE, Delphi Prism XE, and RadPHP XE.

Saturday, 14 August 2010

Delphi XE is Coming

Filed under: Programming — Jan Goyvaerts @ 16:07

The successor of Delphi 2010 will be called Delphi XE rather than Delphi 2011. Embarcadero has also published a new roadmap for Delphi.

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 […]

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.

Next Page »