OK, by asking this question I will reveal a lot of ignorance I have about low level software topics, but I am brave and so, here't goes...
Lets says I've located the entry point of a desired function call in a PalmOS code resource in a PalmOS application. For example, I know the exact memory address of the function and I know that I can use it as a function pointer in my code. Unfortunately, I don't know the type and number of parameters this function takes or what type of value it returns. This is the information I seek. Now, will disassembling the code right before or after the function's memory address reveal anything useful to me? (Lets make a bit easier: I don't care about the difference between a formal parameter, for example, that is of type Int32 or UInt32 because they are both 4 bytes in length.) Or, do I need to locate some binary code that calls the function in question, and then disassemble that? I guess I'm looking for details about how parameters are passed at the binary level. Those are my questions. Thanx, in advance. Also, I apologize if this topic is either idiotic or has been treated elsewhere. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
