Hy,
This is what I am Trying to do :
1. download form a server a prc file.
2. validate the prc that I am reading
3. if the prc is valid -> rename the prc that allready exist on the device. 
(rename means resetting the DataBaseInfo properties, and changing the name in 
to something random like 
char *backupname;
sprintf(backupname,"%lu", TimGetTicks()); // this works just fine. 
)
4. create on the device the new prc.
5. delete the old prc.

The problem is that when I don't have an old prc that I have to delete, 
everything is ok, but when I find a prc and I have to delete it I get a 
"memorymgr.c line 3583 Free Handle" when the application gets reaches the 
end.-> What does this mean?

I have changed my code in deleting the old prc before I create the new one - 
and everything work ok, but this is not a good ideea, because I can't be sure 
that I can create this new prc.

So the problem, from my point of view is that the DmSetDatabaseInfo  is not 
making it's job, and I am trying to write over something already existing... 
(wild guess)

Does someone have any idea?
Regards, Iulia



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

Reply via email to