Solved

unable to AddFontResource() ?

Posted on 1997-12-10
4
380 Views
Last Modified: 2013-12-03
Is there a limitation on the number of fonts that could be added ? We release a product in which I call AddFontResource() with a file located on the CDROM, and one user had a problem at this point. Even if he made a copy
of the fonts files on the hard disk and tries to add the fonts manualy in the configuration panel, he get an error message. He had 1108 fonts installed on his system, and even after removing some of them he still couldn't instal the new fonts from our CD.
Any workaround ?
0
Comment
Question by:johell
4 Comments
 
LVL 11

Expert Comment

by:alexo
ID: 1409313
Try to check the reason via GetLastError()

0
 
LVL 22

Expert Comment

by:nietod
ID: 1409314
Can you be more specific about the problem that occurred?
0
 
LVL 4

Accepted Solution

by:
jtrifts earned 50 total points
ID: 1409315
On win 95, there is a limit...I believe it is around 700 (but it could be 400).  I had the same problem a while back.  Once I got up to app 700 fonts I started getting errors.  I had a font navigator (from Corel, I think) that eventually informed me that I had exceeded nnn fonts.  BTW, when I removed some, it wouldn't let me add several at a time, but I was able to add them individually.

I guess a work around would be setting up a 'styles' area, from which you could install/uninstall/re-install the font styles that you would want for a given.  It doesn't really take any time to install/uninstall...

you could even set up a batch file to do it all for you...
0
 

Author Comment

by:johell
ID: 1409316
Thanks all, I've got a very good answer on the same subject I've post in the "WIN95 Generals" if someone is interested for more
details, have a look !
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now