Piet,

code is absolutelly correct for Delphi 6.
I compiled just now without any problem my project
where I use the extracted code.
Something wrong on your side. Have you the Windows.pas
included in uses-clause?

With best regards, Mike Shkolnik
EMail: [EMAIL PROTECTED]
http://www.scalabium.com


--- Piet Henning <[EMAIL PROTECTED]> wrote:

> Dear Mike,
> I use Delphi 6. Standard delphi application.
> regards
> Piet
> ----- Original Message ----- 
> From: "Mike Shkolnik" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Sunday, September 04, 2005 10:49 PM
> Subject: Re: [delphi-en] can I detect if a FONT
> selection is TrueType?
> 
> 
> Piet,
> 
> it works for me in Delphi 2005 (Win32).
> 
> Or do you develop the WinForms project for .NET?
> 
> With best regards, Mike Shkolnik
> E-mail: [EMAIL PROTECTED]
> WEB: http://www.scalabium.com
> 
> --- Piet Henning <[EMAIL PROTECTED]> wrote:
> 
> > Hi Mike, I got an error in the line(function
> > IsTrueType):
> >   EnumFontFamilies(DC,
> > PChar(FontName),@SetFontTypeFlag, 0);
> >  The cursur parks in front of the "0" with error:
> > 'veriable recquired' 
> > Can you give some advise please.
> > Thanks
> > Piet


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to