Hi Folks,

I'm trying to remove a couple of large unneeded bitmaps from my app when it detects that it is running on a device without DIA. all seems to work fine, the calls work without errors, and filez even reports that the number of records in my app has reduced.

however, the filesize of my app (again, as reported by Filez) doesn't change.
flushing the cache and hotsyncing make no difference.

any ideas?

here is the code - the database has been opened in read/write mode

for (i=0;i<5;i++)
        {
        index = DmFindResource (g_AppRef,resTypes[i],resId[i],NULL);
        if (index!=0xFFFF)
                {
                error = DmRemoveResource (g_AppRef,index);
                }
        }

thanks,

Rob

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to