Msgbox in the first line in Sub Globals but non appears.
Can you upload a complete installation folder of Basic4ppc of the your device?
Thanks for your help
I don't really understand what you mean by this but my Basic4ppc installation is nothing like yours, it is highly modified for desktop use only and can longer compile for devices.
Post your compiled Class1.cs file that includes the Msgbox statement in Globals that is not reached and I will look at the possible paths where it is failing.
I solved,
the problem is only in the imagelist con few items, the error reappeared because do not removing the code of you suggested in Class1.c.
I removed: