Are there any ways of calling procedures written in GPC from GCC. Now, heres the clinch: The pascal source is object oriented!!
Now, I have a pointer to the object (in C). The object contains both data and ONLY virtual methods (That makes things simpler!) So, I could easily get the address of the function that I want to call.
So, the question is: How does GPC handle virtual methods? Looking at numerous assembly listing I have deduced the following:
GPC passes a pointer to the parent object (@Self) NOT on the stack, but in ECX. Is that true, and how is it implemented on other platforms?
Thanks
Bernie
________________________ e-mail: bernie@icenet.com.au | _) | | ptschirrenb@curtin.edu.au |___)ernhard |_|schirren tschirre@cs.curtin.edu.au www: www.geocities.com/CollegePark/Quad/8070/