I mean, what are size and display? The function prototype is:
Char *StrIToA (
Char *s,
Int32 i
)Is 'size' a char pointer and display the integer you want to convert?
Luciano Stertz
Luciano A. Stertz wrote:
Seems you are passing the arguments in the reverse order.
Luciano Stertz
[EMAIL PROTECTED] wrote:
Hi,
I'm looking for any help on why using "strDisplay = StrIToA (size,display)"
always memory faults with the message:
"App just wrote to the memory location 0x0004187C, which is in the storage
heap."
It compiles ok, but as soon as the StrIToA function is called, I get the
memory violation. I assume it's related to setting up the size correctly,
but the #define for maxStrIToALen in the header is set for 12, which is what
I'm using. I've tried a variety of things, but they all return the same
error.
Jim
Jim Coburn Senior Project Director
NDI Medical 216-378-9106 x - 108 (office) 216-378-9116 (fax) jcoburn @ndimedical.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
