🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2063

Re: Previous post on Font Resource saga ....

#2063
From: Glenn Wallace
Date: Fri, 12 Apr 1991 15:23
23 lines
1468 bytes
wolf@netcom.COM (Buckskin Tech.) writes:
>>Has anyone used AddFontResource _WITHOUT_ specifying the name of the lib?
> 
> Maybe it's just me, but according to my Microsoft SDK TIPS.TXT file, it
> warns against using handles with AddFontResource.  I quote:

Hmm. (Shame on me not reading my TIPS.TXT!)

Their warning about not encourging fonts in exe files is (I think) saying
that you should put them in a .FON file (which is a null EXE file with only
font and fontdir resources ... see link problem).

Perhaps you have hit the nail on the head with what my problem is ... 
the handle they are talking about in the SDK doco (for the font lib) is
one returned from LoadResource and _NOT_ (as I assumed) LoadLibrary.

I'll try that (inconvenient as it is, seeing as I'm already loading the DLL)
and see wot happens.

Glenn.
drift@qut.edu.au

sig ommitted as it is "Be Nice to Modems" week.
Technical Details
Message-ID: <1991Apr12.102319.26901@qut.edu.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!ukma!rex!wuarchive!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!qut.edu.au!drift
References: <1991Apr10.084741.26706@qut.edu.au> <1991Apr10.233034.27564@netcom.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!ukma!rex!wuarchive!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!qut.edu.au!drift
From: drift@qut.edu.au (Glenn Wallace)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Previous post on Font Resource saga ....
Message-ID: <1991Apr12.102319.26901@qut.edu.au>
Date: 12 Apr 91 15:23:18 GMT
References: <1991Apr10.084741.26706@qut.edu.au> <1991Apr10.233034.27564@netcom.COM>
Organization: Queensland University of Technology
Lines: 23