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 :)

Just because it exists, doesn´t mean it works correctly.

From msdn:

Windows 95/98/Me: Although GetTextExtentPoint32W exists on Windows
95/98/Me, it is supported by the Microsoft Layer for Unicode to give
more consistent behavior across all Windows operating systems. To use
this, you must add certain files to your application, as outlined in
Microsoft Layer for Unicode on Windows 95/98/Me Systems.

With certain files they mean the "Microsoft Layer for Unicode on
Windows Me/98/95 Systems"

from:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_8smq.asp

--
Felipe Monteiro de Carvalho

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to