PD> Can anyone tell me how to pass structures of different sizes to a
PD> function ?
One way is to devise a structure which holds a pointer to every
different type/size structure you wish to pass into that function
*plus* a marker-type variable. That marker type variable will hold a
key value to be decoded by the mega-function so it will know which
pointer to dereference in order to get to the pertinent information.
* KWQ/2 1.2i *
--- TMail v1.31.5
---------------
* Origin: Diablo Valley PCUG-BBS, Walnut Creek, CA 510/943-6238 (1:161/55)
|