Hi good morning (well, at least here in germany it's morning)
now it's more than a day I've been trying to solve the following problem :
from c++-application I call extern function func1
func1 has as argument pointer to func2.
i cannot modify func1 and func2
however I'm unable to set the pointer to func2 from c++.
func1 looks like this : func1(char*, int(*)(());
func2 looks like this : func2(char**, char**);
compiler does not accept func1(MyChar, func2)
Any ideas how to solve this or with this 'C' and 'c++'
won't work together.
thanks in advance
franz
now it's more than a day I've been trying to solve the following problem :
from c++-application I call extern function func1
func1 has as argument pointer to func2.
i cannot modify func1 and func2
however I'm unable to set the pointer to func2 from c++.
func1 looks like this : func1(char*, int(*)(());
func2 looks like this : func2(char**, char**);
compiler does not accept func1(MyChar, func2)
Any ideas how to solve this or with this 'C' and 'c++'
won't work together.
thanks in advance
franz