Extern, how to import a function and rename it ?

BlitzMax Forums/BlitzMax Programming/Extern, how to import a function and rename it ?

is the functionname within "" written right and with the right amount of parameters for input and output? ( don't know if input and output types need to be the same as well )

the 'Import "somesource.c"' (.c or what ever type of source you have ) is before extern - endextern, right?

perhaps you might want to post the source of the declaration of extern and C / C++ of the function which the compiler does not like as well.