Yes get_pic_list in only called (once) every time the viewer starts.
Now if there is such bug in the sim we should hunt down the real cause of it
IMHO.

But anyway nice observation.

On 19/05/06, Bill Janssen <janssen@parc.com> wrote:
>
> > get_pic_list is run only once.
> > When you exit and then re-enter the variable is re-initialized, unless I
> am
> > missing something.
>
> "get_pic_list" is invoked every time you invoke the viewer, isn't it?
>
> I believe that when you run the simulator, the shared library
> containing the viewer is loaded only once, so that the variable is
> only initialized once. Maybe this reflects a simulator bug in that
> loading and unloading of plugins doesn't properly mimic device
> behavior?
>
> Bill
>
Received on Fri May 19 03:40:43 2006