jpotter@ucs.adelaide.edu.au (Jonathan Potter) (04/01/91)
Has anyone ever had any problems with the CloseFont() routine? I have opened a diskfont, and (at the end of the program) try to close it again. The pointer returned by OpenDiskfont() is good, but when I CloseFont(), something weird happens. Here's what XOper has to say AFTER the CloseFont() call : NODE CNT Y X TYPE LO HI NAME --------------------------------------- 07c30dc2 1 8 8 Disk 32 255 pearl.font 07d18822 255 8 8 Disk 32 255 pearl.font Weird, huh? The font has stayed open, and another one created from somewhere and given a count of -1 (it has obviously closed one, but not the proper one!) The memory allocated to the font is not deallocated. Since CloseFont() does not return anything, I can't see whether the call is failing or not. Anybody got any clues? On another note, there was apparently a debate in c.s.a.tech a while back over the pros & cons of using the arp.library's ASyncRun() and SyncRun() routines over Execute() - can someone briefly tell me what the main points of this were, and whether there are any real problems with the arp routines. Jon -- | Jonathan Potter | | Life is like a piece of | | P.O. Box 289 | jpotter@itd.adelaide.edu.au | spinach... | | Goodwood, SA | FidoNet : 3:680/829 | | | Australia 5034 | | Sort of green and wrinkly |