Friday, October 27, 2006, 2:40:06 PM, Felipe wrote: FMdC> On 10/27/06, Sergei Gorelkin <[EMAIL PROTECTED]> wrote: >> Second, this particular API function - GetTextExtentPoint32() - can be >> used unconditionally with 'W' suffix, even on Windows9x. So this >> example may become even more simple :)
FMdC> Just because it exists, doesn´t mean it works correctly. Believe me - it works quite well :) I am successfully using it in a production project for quite a while. FMdC> From msdn: FMdC> Windows 95/98/Me: Although GetTextExtentPoint32W exists on Windows FMdC> 95/98/Me, it is supported by the Microsoft Layer for Unicode to give FMdC> more consistent behavior across all Windows operating systems. To use FMdC> this, you must add certain files to your application, as outlined in FMdC> Microsoft Layer for Unicode on Windows 95/98/Me Systems. FMdC> With certain files they mean the "Microsoft Layer for Unicode on FMdC> Windows Me/98/95 Systems" Maybe MSLU, when used, hooks it and somehow changes its behaviour. But even without MSLU results are satisfactory enough. Anyway Pascal code remains the same, whether MSLU is used or not. FMdC> from: FMdC> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_8smq.asp The complete list of such functions can be found here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mslu/winprog/other_existing_unicode_support.asp -- Best regards, Sergei _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
