Could it have been memory in the storage area where you should be using DmWrite()?
Or perhaps rec.Name has not been initialized correctly and points to a random, yet 
critical,
area of memory.

Jason

> -----Original Message-----
> From: Denis Chai [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 15, 2000 1:30 PM
> To: Palm Developer Forum
> Subject: Writing Directly to Memory Manager Data Structure error
> 
> 
> Hi guys,
> 
> I was hoping you would be able to help me out with something.
> I get an error message saying:
> 
> "Application has just written directly to memory manager data 
> structures.
> This problem indicates an error in the application. Users 
> should upgrade
> this product immediately to safeguard their data."
> 
> This occurred after I added the following lines of code:
> static Char* Name[ ] = { "Aaron", "Adam", "Adrian", "Alan", "Alex" };
> StrCopy (rec.Name, Name[SysRandom (0) % 5]);
> 
> (rec is a structure)
> 
> Should I be copying it another way?
> 
> Thanks a lot,
> Denis.
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
> 
> 

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

Reply via email to