Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-02-2008, 01:05 AM
Junior Member
 
Join Date: Aug 2007
Posts: 11
Default get Windows registered fonts path

Hi guys!

Is there a way using swfKit to get a list of all registered fonts on the system AND there path?

I've played around with dllimport
gdi32.dll should have a method EnumFonts but there is no way i get it showing in swfKit

the following link points to the EnumFonts method...
http://msdn2.microsoft.com/en-us/lib...64(VS.85).aspx

this code in no way works.. but i think i need to look into this direction, any thoughts?
Code:
dllimport "gdi32.dll" stdcall int EnumFonts() as gdi32_EnumFonts;

var test = gdi32_EnumFonts();
Dialogs.msgBox(test);

thanks!!


__________________
Tom Goethals<br />multimedia developer<br /><br />B.U.T nv<br />url: www.but.be<br />multimedia solutions | industrial video | print design
Reply With Quote
  #2 (permalink)  
Old 04-04-2008, 04:29 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: get Windows registered fonts path

Ffish script does not support callback functions, so the "enumfonts" method cannot work in swfkit. We will add a "fonts" property into the "SysInfo" object in the next version. If you need it urgently, we can build a patch for you.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:08 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.