[futurebasic] [FBII] kill picture or def disposeh?....

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: "Michael Evans" <mikonic@...>
Date: Mon, 20 Sep 1999 22:39:02 -0400
I obtain a handle to a resource PICT as follows:

      myThumbHandle& = FN pGget1Res(_"PICT",thumbID%,thumbResRef%)
      LONG IF myThumbHandle&
        CALL DETACHRESOURCE(myThumbHandle&)
      XELSE
        myThumbHandle& = FN pGget1Res(_"PICT",128,thumbResRef%)
        LONG IF myThumbHandle&
          CALL DETACHRESOURCE(myThumbHandle&)
        END IF
      END IF

Do I get rid of myThumbHandle&? do I use killpicture or def disposeh?


----------------------------------------------------------
Michael Evans
Manager of Software Development * Photo Systems, Inc.
3301 Wood Valley Road, NW * Atlanta, GA, 30327-1515
Voice: (404) 846-9386
Fax: (404) 240-0878 * Cell: (404) 229-3930
E-mail: evans@... * michael_evans@...
----------------------------------------------------------