I am getting lots of "CmdReadRemoteMem error: invalid response command"
message spitted at me by Codewarrior's debugging log. There's also quite
a few "CmdGetRemote RtnName error" stuff. At one point I got a popup
window informing me that "remote device program counter has been
modified". Wow! I didn't know I could modify a Palm's program counter.
(Hmmmm.... maybe that's how Robert Morris was inspired)
Finally, I tracked the errors down to StrCopy().
I did my string copies like this:
static void foo()
{
Char badboy[100];
StrCopy(badboy, "I cause program counter modifications\0");
}
Can anyone tell me what I did wrong? Do I have to do badboy =
MemPtrNew(100); everytime I want to use StrCopy(), or StrPrintF() and
such?
I've search the knowledge base for CmdReadRemoteMem, but posts have been
merely problems getting CW to talk to either POSE or the unit.
Optimization has been turned way down (to the left).
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/