The original poster of the message did know that it was the DmWrite causing
problem.  What he should have done is to check all the parameters passed.  If
he couldn't realize this, the compiler warning may just have been ignored. 
Especially for those pointer casting warnings, I did saw some when I compile
Pose 3.3. :-)

Max
--- Keith Rollin <[EMAIL PROTECTED]> wrote:

> If someone passes a handle to a function that expects a pointer, 
> Poser is not going to say anything along those lines.
> 
> When you get a bus error (as the original poster said he was), you 
> get the following message:
> 
> %App just %op memory location %mem, causing a bus error.\n\nA "bus 
> error" means that the application accessed a memory location that is 
> not in RAM or ROM, nor corresponds to a memory-mapped hardware 
> register.
> 
> Again, this message doesn't get to the (possible) source of the 
> problem: passing the wrong kind of parameter to a function.  The 
> compiler is the best tool for detecting that.
> 
> -- Keith Rollin
> -- Palm OS Emulator engineer
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please
> see http://www.palmos.com/dev/tech/support/forums/


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

-- 
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