[futurebasic] invisible strings

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 1998 : Group Archive : Group : All Groups

From: Lucy24@...
Date: Thu, 27 Aug 1998 16:04:59 EDT
This week's puzzler:

I recently spun-off a large application's sound resources into an independent
file using USR OPENRFPERM (and discovered to my dismay that these 11K sounds
take up Several Times as much space as all other resources put together). No
problem except... all strings from the default resource file, the one that
gets compiled into the finished application, then became invisible. They were
being loaded all right--the insertion point was moving appropriately,
depending on string length--they were just invisible, regardless of foreground
& background color, independent of display method (text field or drawn to
screen), both before and after a forced refresh. Same for icons from the same
file.

Well, it turned out the problem was caused by using GET1RESOURCE in place of
GETRESOURCE... but the part I'd like to have explained is why this would cause
a resource to become _invisible_ rather than, say, not loading at all. The
latter I would have understood.