Stringer wrote:

> I'd like to pass a pointer to an array of pointers to functions as a
> parameter to a function call to a shared library.
> (hey, don't you just love working with a computer language where
> this sentence makes sense!)
>

I have been coding in C for a while and I needed to read this twice to get it right 
let alone the newbies.

> Is there a way of specifying pointers to functions as function parameters
> from a big multi-sector program to a function in a shared library
> and ensuring the pointers are all correctly sized and formated so the
> calls can occur?
>
> So far I haven't found the right section in the Knowledge Base or any
> of the manuals.   I suspect it is either really simple or vitually impossible.

I figure the latter.  This stuff is the extreme of the C Language and is one reason 
why C++ came about.  Frankly, I'd advise to
really look at the application you have in mind and develop a simpler coding scheme.  
Metrowerks is not known as the most compliant
C compiler.  It is source like this that really tests the convention compliance of a 
compiler.

Steve


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