Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!mmshah From: mmshah@athena.mit.edu (Milan M Shah) Newsgroups: comp.windows.ms.programmer Subject: Re: Trouble creating fonts. Message-ID: <1991Apr5.144739.20527@athena.mit.edu> Date: 5 Apr 91 14:47:39 GMT References: <670677029.AA9049@flaccid> Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology Lines: 37 >First I thought I'd try to create a .fon system resource library... No >joy! I tried various permutations of the example given in the MS Guide >to programming (18.12) but my linker (not link4 by the way, but the one >you get with C6.0) keeps telling me that I have no segments defined and >bombs out, putting a NOP instruction in the asm code let it compile >but it's no longer an allowable format as it has segs. > This is a known bug in the link program that comes with C6.0 and was not fixed in C6.0a. Link just plain and simple won't link this file. >I have three theories for the above: >1. is that there is a switch to link that I don't know about There is an undocumented switch, but not to link. From what I understand, even though link aborts with an error, it has created the correct .exe file. However, it has "set the error bit" in the exefile header. Now, there is an undocumented switch to rc that clears this "error bit". But here's the catch ... I forgot!!! I even tried doing a rc - where I tried every letter for x, but couldn't get it to work. However, I know such a switch exists, because I did get it to work once. >2. there is a piece of special asm code somewhere which I don't know > about (something like the code you get for creating dlls) Nyet. >or >3. I need link4! > This will fix the problem as well (and is the method I use, which explains how I lost the above info). However, link4 is no longer available, even from Microsoft, so only people with SDK 2.11 win. Big question of the day - how did Microsoft create their fonts? Hope this helps. Milan .