Figure 2: When running the code shown in Figure 1 on the Palm OS Emulator, we get the following three debug boxes in the CheckForLeaks() call: (a) detection of LeakedClass; (b) detection of leaked MemPtrNew call; (c) and detection of leaked MemHandleNew call.
Back to Article