Michael,
You might want to do some more investigation into why your program is hanging.
Merely having a function with that name will not do it. There's nothing wrong
with ReadSerialInput, neither in theory nor in practice, as I proved to myself
by adding a static function with that name to a program of mine.
-- Keith
Michael Pearce <[EMAIL PROTECTED]> on 12/10/99 03:47:22 PM
Please respond to [EMAIL PROTECTED]
Sent by: Michael Pearce <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (Keith Rollin/HQ/3Com)
Subject: Reserved function names
I just tracked down a problem that was driving my nuts for hours and hours,
an apparent name conflict. I had a (static) function in my code called
ReadSerialInput(), and the mere existance of this function in my application
caused my unit or emulator to hang whenever it was executed. The function
doesn't even need to be called by the application to cause this problem if
the binary is not stripped.
AFAIK, ReadSerialInput() is not mentioned in the SDK, it doesn't appear in
any of my includes or libraries. So my question: is there an authoritative
list of "reserved" function names, and if so, where can it be found?
I guess I need to do more reading so I can more fully understand name scoping
issues under PalmOS ...
--
Michael Pearce <[EMAIL PROTECTED]> +1 314 386 0663
Coreth Consulting, Inc. St. Louis, Missouri, USA