Solved

unable to AddFontResource() ?

Posted on 1997-12-10
4
391 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

791 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